How to select coordinate system for Step export?

How to list existing coordinate systems in a model, select one of them and use it for Step export in VBA

SolidworksApi macros
Answers 3
KR
KR 2012-02-23 Best Answer

Kari,

[Edit: Thanks to Jody below, I see what you are referring to.]

I looked in IModelDocExtension::SaveAs and I don't see any options that let you specify the coordinate system.

Keith

CADSharp.com

JS
JS 2012-02-23

The only option I have used is when you click "Save as" and then click the "Options" button it pulls up the attached dialog box. At the bottom, you can select the coordinate system you have assigned. Let me know if this is what you are talking about.

SF
SF 2012-02-24

Yes, that I am talking about. How to do that coordinate system selection by VBA. We have to export Step where origin and axis are located to specific point. This helps to locate imported Step in another application.