Jump to content
Developer Wiki and Function Reference Links ×

Script for all classes


Recommended Posts

Procedure ClassSet;

Var		L1 :LongInt;

Begin
	For L1:=1 to ClassNum do ShowClass(Classlist(L1)); {Shows all classes}
	HideClass('MyClassName1');
	HideClass('MyClassName2');
End;

Run(ClassSet);

 

Change the names of the classes you want hidden to something that exists in your file or delete those rows.

 

Or use the Saved View command to make a saved view that just changes the class visibilities.

 

HTH

Link to comment

As far as I know, there are only procedures to Show/Hide/Grey individual classes.

 

You could expand the look I show for making everything visible to check names. Something like (completely untested. typed here in the forum):

 

For L1:=1 to ClassNum do 
	Begin
		ClassName:=Classlist(L1)); {Get name of class}
		If Copy(ClassName,1,5)='Prefix' then HideClass(Classname); {if the class name starts with 'Prefix' then hide the class}
	End;

You wil have to define ClassName as a variable of type String in the VAR section of the program.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...