AnsweredAssumed Answered

Custom Check on Components in an Assembly

Question asked by Rick Hombsch on Aug 24, 2015
Latest reply on Aug 25, 2015 by Rick Hombsch

I am working on a custom design check that checks to make sure all components in an assembly are fully defined. I got the macro working however I want to make the failed items array a double array so that the items are highlighted when selected in the design checker as discussed in the remarks section of the page linked below:

2015 SOLIDWORKS API Help - SetCustomCheckResult Method (ISWDesignCheck)

 

Does anyone know what information to pass for a component to make this work correctly?

 

I have already tried Component.Name2 and Component.GetSekectByIDString

 

Thoughts?

 

 

Outcomes