Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I work on integration of CREO with Teamcenter. I need to know if I can identify harness parts in CREO in some way through code. Do the harness parts have any special identifiers? Can I use any attribute to recognize them in the code? Any way at all of doing it?
I'm not sure about Teamcenter... but I don't believe that there is an easy one via the model data that is available through the standard publisher.
In theory, you COULD just set up the start-part that is used by a harness part to have an extra model parameter. Maybe something like "IS_HARNESS" which is a boolean param. You'd just need to make a unique start-part, and then set that via the "template_harnesspart" config.pro option.
If you need a more "dynamic" solution, and you have access to a Pro/TOOLKIT license, there IS a Pro/TOOLKIT function available "ProCablingIsHarness" which will determine if a model is a harness part or not. That could theoretically be used to help somehow, but it would depend on your implementation.
Feel free to PM if you'd like to know more about a customized solution.
James Sullivan
CadActive Technologies, LLC
President & Founder
www.cadactive.com