markdd Posted March 29, 2018 Share Posted March 29, 2018 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 Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted March 29, 2018 Vectorworks, Inc Employee Share Posted March 29, 2018 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" Quote Link to comment
markdd Posted March 29, 2018 Author Share Posted March 29, 2018 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. Quote Link to comment
Pat Stanford Posted March 29, 2018 Share Posted March 29, 2018 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); 3 Quote Link to comment
markdd Posted March 29, 2018 Author Share Posted March 29, 2018 Pat, that works a treat. Many thanks. Mark Quote Link to comment
Dan Hoffman Posted June 6, 2018 Share Posted June 6, 2018 That works great, thanks for that script - maybe Vectorworks will be smart enough to include this seemingly obvious function in a future release..... 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.