Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Is there anyway to get polyCylinder from the C++ API?

Is there anyway to get polyCylinder from the C++ API?

Anonymous
Not applicable
229 Views
1 Reply
Message 1 of 2

Is there anyway to get polyCylinder from the C++ API?

Anonymous
Not applicable
We are trying to export a polyCylinder object to our own file format using the Maya C++ API. We can look up and down the hierarchy and have managed to get the mesh associated with it but we can't find the polyCylinder object itself. This being the object with radius, height etc attributes associated with it. It appears to exist before you do a delete history. We want to be able to place cylinders (and spheres) around parts of a mesh to create a collision hierarchy. We therefore need the actual radius, height and transformation but don't care about the mesh itself. Is there any way to get these values in C++? Thanks in advance.
0 Likes
230 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Nevermind we figured it out. It's not in the DAG, it's in the DG so we have to follow plugs to find it.
0 Likes