pmit_add_refincomp

Add object of PmitCadModelRefH class at end of object of PmitAssemCompH class

Syntax

PmitError = pmit_add_refincomp(PmitAssemCompH pmitAssemComp, PmitCadModelRefH pmitCadModelrefH)

Description

PmitError = pmit_add_refincomp(PmitAssemCompH pmitAssemComp, PmitCadModelRefH pmitCadModelrefH) returns an error status PmitError.

With pmit_add_refincomp, you can add an object of PmitCadModelRefH class at the end of an object of PmitAssemCompH class, in order to reference an element in an API CAD hierarchy. You construct the full reference with a chain of objects of PmitCadModelRefH class. Make the chain as long as needed to reach the desired element in the hierarchy.

Input Arguments

pmitAssemComp

Handle object of PmitAssemCompH class representing a component in an API CAD model

pmitCadModelrefH

Handle object of PmitCadModelRefH class referencing a CAD model in an API CAD model hierarchy

Was this topic helpful?