Jump to content

List object style in a worksheet

Recommended Posts

Is it possible to list the style of an object in a data base worksheet?


Im particularly interested in title block border styles and WinDoor styles. I have two way worksheets where I can manipulate title blocks or WinDoor objects throughout a file but I can’t figure out how to list the title blocks style. It would be great to be able to change style from the worksheet if possible. 


Anyone got got a suggestion?


Thanks in advance!

Link to comment

I don't have WinDoor, so I can't comment on that. 


I took a quick look at the title block boarder object yesterday and it appears that the Style is stored in the parameter record. I have not had time to look and see if there are other hidden records storing the information.


So for a quick starting point I have to say NO it is not possible, at least not easily.



Link to comment

Thanks Pat. I have already run your awesome "List PIO record fields" script on a title block border object and a "style" field doesn't appear unfortunately.


It must be accessible somehow, even if just to show in a worksheet as an uneditable item. That way one could cross check all title block borders in a file.

Link to comment

Turns out that PIO Styles are not stored in a record, but is an actual script property of the object itself. Copy and paste the following script into a blank Vectorscript and name it GetPIOStyle.


Then use the following function in a database row cell where the objects are Title Block Borders (or any other Styled PIO, I think).




Procedure GetPIOStyle;




Again, I don't have WinDoor, so I think it will work, but I have no way to test.

Link to comment

That sounds like a great idea. Unfortunately can't get it to work. Have doubled checked instructions, refreshed libraries, restarted VW... and yes my user libraries all work for other resources. Your magnetic personality is not kicking in today!!!


Surely note pad should work as a text editor?





Link to comment

So now the script only works when I have it in my user library. It doesn't work when it is in my workgroup library - have refreshed, restarted etc. And the workgroup library is definitely set up correctly as other default resources are accessible).


Link to comment

It is definitely there. I was thinking more along the lines of a searchable/crossreferenced webpage. There are getting to be so many functions, that we need something more that just what is in the manual. Something more like the Vectorscript Function Reference. Sortable by Name, Category, Object Type, etc.

Link to comment

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.

  • Create New...