DavidF
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by DavidF
-
-
This is exactly what I'm looking for, but when I ran it, I encountered an error, and now this message is stuck on my screen and won't disappear. im using VW 2024
/ David
-
On 4/26/2017 at 4:45 PM, Pat Stanford said:
Yes, it is possible. I am liking the RunScript WS function more and more. Still needs some work, but it offers great potential.
Create a new Vectorscript named ClassDescrip and paste the following code into it.
Procedure ClassDescription; {© 2017 Patrick Stanford pat@coviana.com} {Licensed under the GNU Lesser General Public License} {A Vectorworks 2017 worksheet script to return the Class Description} {of each object in a worksheet database.} {Run using the RunScript function in the worksheet} var S1:String; Begin GetDescriptionText(GetObject(GetClass(WSScript_GetObject)),S1); WSScript_SetResStr(S1); End; Run(ClassDescription);
Now add a column to your worksheet of classes. In the database header row add a formula of:
=RunScript('ClassDescrip')
Answer the dialog box to allow the script to run and you should have the class descriptions you are looking for.
Remember that the description can have multiple lines and you will probably need to manually adjust the Row Heights to make it look good.
Hi, I'm probably doing something wrong. I have created runscript, but when I add =RunScript('ClassDescrip') into a cell, nothing happens. Could someone please show me with a screenshot how you did it?
/ Programming illiterate person
Vectorworks 2020 | Data Visualization | Image Fill showing uncorrectly, Cant adjust image size
in Troubleshooting
Posted · Edited by DavidF
"I'm trying to create a data visualization to quickly generate an illustration plan. I would like to use an image as a fill, but I can't adjust the settings for 'apply image to' as I would have been able to if I had gone through attributes -> fill -> image -> for individual objects."