RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent)

2014-01-10 Thread Matt Lind
var oItem = Selection(0); If ( oItem.IsClassOf( siCollectionItemID ) ) { // subcomponent reference var oObject = oItem.SubComponent.Parent3DObject; var oSubComponents = oItem.SubComponent.ComponentCollection; } From:

RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent)

2014-01-10 Thread Avinash Sunnasy
Thanks Matt. From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Friday, January 10, 2014 11:47 AM To: softimage@listproc.autodesk.com Subject: RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent

RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent)

2014-01-10 Thread Avinash Sunnasy
) from subcomponent (pntSubComponent) Thanks Matt. From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Friday, January 10, 2014 11:47 AM To: softimage@listproc.autodesk.com Subject: RE: How to get a primitive (polymsh) from

RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent)

2014-01-10 Thread Matt Lind
' Subject: RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent) Thanks Matt. From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Friday, January 10, 2014 11:47 AM

RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent)

2014-01-10 Thread Avinash Sunnasy
...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Friday, January 10, 2014 3:59 PM To: softimage@listproc.autodesk.com Subject: RE: How to get a primitive (polymsh) from subcomponent (pntSubComponent) You can iterate through the subcomponent collection provided in the previous example and call the '.Index