Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the object distance from the origin (API - COM)

Status
Not open for further replies.

ZsZs

Computer
May 8, 2007
30
Hi!
I'am a C++ programmer. I like to change the my object (in .SLDPRT file) distance from the origin (X, Z, Y coordinate) in my C++ (COM) program.
Which object and method do it? (Enough only the object/method name...)
Sorry a lamer question, but I'm lost in the SW object-tree... :)
Thanks!
ZsZs.
 
Replies continue below

Recommended for you

To my knowledge there is not an easy way to move an arbitrarily designed part relative to its origin. There are workarounds depending on why you want the origin in a different place.

Eric
 
I found a good example.
The after the SW API install, in the C:\Solidworks\api directory (where is api help too) have a example by solidworks_api_session name.
It is very good...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor