Assembly "Include" component
Jul 27, 2017
06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 27, 2017
06:05 AM
Assembly "Include" component
Hello,
does anybody know how to assemble "Included" component by Pro/Toolkit? Is it possible?
Macro is not the right solution, because I need to work with the included component.
Regards,
Tom
Labels:
- Labels:
-
General
3 REPLIES 3
Jul 27, 2017
09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 27, 2017
09:39 AM
I'm not sure if or how this can be done.
You can try to create a test assembly with an included component and then export the element tree of the component to a XML file using the ProElemtreeWrite function.
This will give you the complete element tree of the included component and should be fairly easy to determine what options do you need to use.
Aug 01, 2017
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Aug 01, 2017
02:22 PM
Hi all,
Gabriel had pointed the correct approach via XML tree investigation.
The difference between 'inserted' and 'packaged' type components is in PRO_E_COMPONENT_CONSTR_TYPE which in case of the 'included' component is PRO_ASM_DEF_PLACEMENT with the fully defined PRO_E_ASM_CONSTRAINTS XML element and NULL for 'packaged' (no constraints at all) components (PRO_E_ASM_CONSTRAINTS element is empty).
I don't know if XML read functionality to create element tree for the 'inserted' component would work but it definitely should be tried.
HIH.
Feliks.
Aug 02, 2017
09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Aug 02, 2017
09:59 AM
acutally ProMacroLoad or ProMacroExecute would me much simplier way...
