tismacfan2 Posted March 8, 2019 Share Posted March 8, 2019 Could someone help me with a script, which moves a selected object to the active class. Thank you Pascal Quote Link to comment
Pat Stanford Posted March 8, 2019 Share Posted March 8, 2019 For a single selected object SetClass(FSActLayer,'Class to Move To'); For multiple selected objects Procedure ChangeSelectedObjectsClass; Function Execute(H1:Handle):Boolean; Begin SetClass(H1,'Class to Change To'); End; Begin ForEachObjectInLayer(Execute,2,0,0); End; Run(ChangeSelectedObjectsClass); 1 Quote Link to comment
tismacfan2 Posted March 10, 2019 Author Share Posted March 10, 2019 Thank You Pat works Perfect Pascal Quote Link to comment
Recommended Posts
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.