Jump to content
markdd

Unlink text object from record

Recommended Posts

Is there a way to reverse the Link Text to Record command from a selected text item? It seems there should be a way but I just can't find it.

 

Many thanks

 

Share this post


Link to post

I think you select the Text object, then in the Data tab of the Object Info palette near the bottom (on recent versions, on older versions it might have been enar the top) click "Detach"

Share this post


Link to post

Thanks Jim. As far as I can tell, a linked piece of text does not have a record to detach. The only record to detach is the one attached to the container symbol. That removes the record completely. 

 

Share this post


Link to post

Try this script. If this is an acceptable workflow, it can be edited to keep the text that was in place prior to the unlink.

 

Procedure UnlinkTTR;

{March 29, 2018}
{© 2018 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}

{Edit a Symbol, select any text you want to unlink from }
{a Linked Text to Record and run this script.}
{The text will revert to the original default text but the}
{text location will be the same.}


Var    H1    :Handle;


Procedure Execute(H1:Handle);
Begin
    SetObjectVariableBoolean(H1, 686, True);
End;

Begin
    ForEachObject(Execute,((INSYMBOL & (VSEL=TRUE) & (T=TEXT))));
End;

Run(UnlinkTTR);

Procedure UnlinkTTR;

{March 29, 2018}
{© 2018 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}

{Edit a Symbol, select any text you want to unlink from }
{a Linked Text to Record and run this script.}
{The text will revert to the original default text but the}
{text location will be the same.}


Var	H1	:Handle;


Procedure Execute(H1:Handle);
Begin
	SetObjectVariableBoolean(H1, 686, True);
End;

Begin
	ForEachObject(Execute,((INSYMBOL & (VSEL=TRUE) & (T=TEXT))));
End;

Run(UnlinkTTR);

 

  • Like 3

Share this post


Link to post

That works great, thanks for that script - maybe Vectorworks will be smart enough to include this seemingly obvious function in a future release.....

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

 

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.

×