cancel
Showing results for 
Search instead for 
Did you mean: 

MCS Matrix values

Valued Contributor
Valued Contributor

Hi,

 

NXOpen - JAVA

How can I get the following(mark in red):

Image1.png Image1.png

 

Thanks,

Tom.

 

1 REPLY

Re: MCS Matrix values

Esteemed Contributor
Esteemed Contributor

Here is something to start with in VB.NET:

Dim theMillOrientGeomBuilder As CAM.MillOrientGeomBuilder = Nothing

theMillOrientGeomBuilder = _
    theWorkPart.CAMSetup.CAMGroupCollection.CreateMillOrientGeomBuilder(theMcsGroup)

Dim theMcsCsys As CartesianCoordinateSystem = theMillOrientGeomBuilder.Mcs

'use theMcsCsys.Orientation.Element.Xx, etc. to get the vectors

theMillOrientGeomBuilder.Destroy()
theMillOrientGeomBuilder = Nothing

theMcsGroup is the group object of type CAM.OrientGeometry as selected in the ONT.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community