turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-26-2016 10:03 AM

How do you map a vector from the current display part and put it in terms of the current workPart.

Assuming that the workPart does not equal the displayPart.

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-26-2016 12:14 PM

**.MapPoint** method. I think it will provide the easiest way to transform your vector information. Vectors point from the origin (0,0,0) to the given point (Vx, Vy, Vz); since all vectors start from the origin, they are usually just written as a triplet (the same as point coordinates). Therefore, the **.MapPoint** function can be used to transform your vector information.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-26-2016 01:12 PM

If you utilize the WCS you can use this approach assuming the work part and displayed part are different as stated. Then you can have all the vector information you need from one object. Be sure to delete the saved csys when done.

CartesianCoordinateSystem cartesianCoordinateSystem1; cartesianCoordinateSystem1 = theSession.Parts.Display.WCS.Save(); CartesianCoordinateSystem cartesianCoordinateSystem2 = (CartesianCoordinateSystem)theSession.Parts.WorkComponent.FindOccurrence(cartesianCoordinateSystem1) ;

Follow Siemens PLM Software

© 2017 Siemens Product Lifecycle Management Software Inc