Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
The Hamma

This script runs from a script Palette but not as a menu item

Recommended Posts

Anyone know why this script runs from the script Palette but not if I add it to the menu. When added to the menu it runs but nothing happens.

PROCEDURE ClassStyle;

PROCEDURE changedoors(h :HANDLE);

BEGIN

SETRFIELD(h, 'door', 'IDLabelClass', 'Marks');

ResetObject(h);

END;

BEGIN

ForEachObject(changedoors, (INSYMBOL & INVIEWPORT & (PON='door')));

END;

Run(ClassStyle);

Share this post


Link to post

Ok correction the resetObject does not work the class does change but the objects are not reset.

Share this post


Link to post

Did you ever resolve this? I have a small script to change views which works fine from the script palette too but does nothing once I make it into a menu item.

Kevin

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×