Visibility programatically in Inventor |
Top Previous Next |
Here is an example of how to set the visibility of a workpoint
CComPtr<WorkPoint> pWorkPoint = nullptr ; GetWorkPointByName (pWorkPoint,csPointName,pPartCompDef) ;
if (bMakeVisible)) { pWorkPoint->put_Visible (VARIANT_TRUE) ;
} else { pWorkPoint->put_Visible (VARIANT_FALSE) ; }
|
Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)