Question
JLINK - get all the csys origins in the assembly?
I'm working on programmatically constraining some components, and I need to
get a list of all the CSYS origins in the entire assembly (components &
subassemblies too).
I tried
ModelItems asmItems = assembly.ListItems
(ModelItemType.ITEM_COORD_SYS);
But this just gets the ones in the top level.
Is there an easy way to get all the CSYS, or do I need to brute-force access
every component & evaluate it?
--
Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
get a list of all the CSYS origins in the entire assembly (components &
subassemblies too).
I tried
ModelItems asmItems = assembly.ListItems
(ModelItemType.ITEM_COORD_SYS);
But this just gets the ones in the top level.
Is there an easy way to get all the CSYS, or do I need to brute-force access
every component & evaluate it?
--
Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
