Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
629 Vistas, 4 Respuestas

Rotate Existing Curve Object w/ API

I having a bit of difficulty trying to rotate an existing curve object from the API. The FMCurves object has a reference to a method "XFormRotate" containing the same arguments found in the UI Transform dialog box used to rotate it from FeatureCAM. At the time of this transformation, there is only one existing curve in the document. Document.curves.Item(1).Name returns the name of my only curve, so I know the object isn't null, but when I try to run Document.curves.XFormRotate, nothing happens. Any ideas?

 

Thanks