Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Coordinates in a second axis system

Status
Not open for further replies.

mayrou

Electrical
Jan 8, 2014
55
0
0
TN
hello!
I want to create a macro that gets the coordinates of a point (cercle origin), belonging in a part1, in the axis system of a second part (part2)!
TH U
 
Replies continue below

Recommended for you

check the FAQ560-1377 about coordinates of a point.

You can use Position.GetComponents of the instances for Matrix multiplication in order to get the desired XYZ

with CATIA.ActiveDocument.Product.Products.Item(x).Position.GetComponents oAxisComponentsArray

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.
Back
Top