Message 1 of 2
Is there anyway to get polyCylinder from the C++ API?

Not applicable
09-01-2010
06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.