Solid Edge ST6 API - Help with saving four faces of a part to pdf

Experimenter
Experimenter

Hello,

 

I have a .NET program that saves part files as 3d pdfs or as plain pdfs with a default isometric view. This was simple enough, but I was wondering if it is possible to save the bottom, top, left, and right right views to a single page. If not, how would I go about saving each face to its own page in a pdf? I have been scouring the Solid Edge API documentation but figured I should ask for help going about this. If anyone could point me in the right direction I would appreciate it.

 

Thanks

 

1 REPLY

Re: Solid Edge ST6 API - Help with saving four faces of a part to pdf

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Using the Application.StartCommand() method passing one of the following arguments will get your view to change.

 

SolidEdgeConstants.PartCommandConstants.PartViewBackView
SolidEdgeConstants.PartCommandConstants.PartViewFrontView
SolidEdgeConstants.PartCommandConstants.PartViewTopView
SolidEdgeConstants.PartCommandConstants.PartViewBottomView
SolidEdgeConstants.PartCommandConstants.PartViewLeftView
SolidEdgeConstants.PartCommandConstants.PartViewRightView

As you said, you'll have to save each one of these out to their own PDF and combine using some other means.

Jason Newell
Applications Architect
www.jasonnewell.net