Jump to content
Sign in to follow this  
J. Miller

Rename Symbol

Recommended Posts

Is there a way to re-name a Symbol the is currently in the Active File. I would like to concat some additional text to the end of the existing name.

symname := GetSymname(h);

seem to be missing a SetSymName(h, Concat(symName,'_blah') or something like this?

Thanks In Advance

Jeff Miller

Share this post

Link to post

Hi Jeff,

Here is a quick test that works on single-symbol test file.


Frank Brault

Procedure RenameSymb;
kSuffix = ' symbol';
gSymName : String;
gSymDefHan : Handle;

gSymDefHan := FSymDef;
gSymName := GetName(gSymDefHan);
SetName(gSymDefHan, ConCat(gSymName, kSuffix));

Share this post

Link to post

SetName(h,name); will do the trick.

EDIT: sorry, didn't see Frank's post :)

Edited by maarten.

Share this post

Link to post

thanks a lot Frank & Maarten

That worked great!

Wasn't sure if I could use SetName in ths applictaion or not, but now I know


Share this post

Link to post

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.

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.

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.

  • Create New...