geAddHilightFig
geAddHilightFig(g_hlSetId d_figId[g_drawAll] [l_hierPath] [l_vertex] ) => g_hlObjectId / nil
Description
Adds a figure to a highlight set.
If g_drawAll is t, and the figure is an instance, all figures in the master of the instance are drawn.
Arguments
Value Returned
Examples
The following example adds fig3 to the highlight set set1 and does not draw the objects. Returns the object ID of fig3.
geAddHilightFig( set1 fig3 nil )
The following example adds instId to the highlight set set1 and highlights the objects inside instId.
geAddHilightFig(set1 instId t)
The following example adds figId to the highlight set set1, located in the hierarchy at the given hierpath, inst1/inst2.
geAddHilightFig(set1 figId nil list(list(inst1 0 0 0) list(inst2 0 0 0)))
The following example adds rect to the highlight set set1, but only highlights vertices 2 and 3.
geAddHilightFig(set1 rect nil nil list(nil t t nil))
Related Topics
Return to top