Sets class visibility setting for the active document.
| Visibility | Index |
|---|---|
| Active Only | 1 |
| Gray Others | 2 |
| Gray/Snap Others | 6 |
| Show Others | 3 |
| Show/Snap Others | 4 |
| Show/Snap/Modify Others | 5 |
PROCEDURE SetClassOptions(classOpts : INTEGER);def vs.SetClassOptions(classOpts):
return None| Name | Type | Description |
|---|---|---|
| classOpts | INTEGER | New class visibility setting. |
Layer(GetLName(temp_h));
ShowLayer;
temp_h := NextObj(temp_h);
END;
SetClassOptions(5);
for i := 1 to ClassNum DO ShowClass(ClassList(i));
END;
BEGIN
SetClassOptions(5);
SetLayerOptions(5);
DSelectAll;
Layer(kStrErrorLayer);
SetLayerOptions(1);
{set the Class Setting to Show/Snap/Modify Others}
SetClassOptions (5);curClassVis = vs.GetClassOptions()
vs.SetClassOptions( 5 ) #Set to Show/Snap/Modify to fix VB-116777Availability: from VectorWorks8.5