Jump to content
Sign in to follow this  
MattG

Drawing Border Title Block Update Across Sheet Layers

Recommended Posts

I have a 20 sheet layers that have a drawing border with a custom title block in it. They all have the same title block. I added a nice little graphic and a new field to it. Now I want to update them all and instead of going to each sheet layer clicking on the border going to my object info clicking the title block button and then choosing that title block from my drawing border components folder and repeat 19 times or so. I know I heard somewhere there is a easier way to do this. Anyone got any insight?

Matt

Share this post


Link to post

Closing and opening the file does not work? I think it should...

If not, try

- Tools -menu

-- Utilities

--- Update Plug-in Objects

Share this post


Link to post

Right. Obviously the Drawing Border object is built in such a way that updating the title block definition does not affect existing Borders. (I wonder how they do it... I could use that in some of my objects! Now they just get updated as per the symbol, whether I want it or not.)

Sorry, no more ideas.

Share this post


Link to post
(I wonder how they do it... I could use that in some of my objects! Now they just get updated as per the symbol, whether I want it or not.)

Petri,

I am pretty sure that they just go into the symbol definition and "copy" the objects and "paste" them into the Drawing Border object. I think this technique is used in some of the Landmark and Spotlight routines also.

Pat

Share this post


Link to post

Yes, yes... But what's the trick for keeping the old data! My objects retrive data from the symdef every time.

But coming to think of it: there are other oddities here. Not that I'd actually use the drawing border, but occasionally one has to test these things...

In handling the record format of a custom title block, the drawing border did, I seem to recall, a pretty good job. But line weights were totally effed up!

The revision table was a disater so that was the end of my testing.

Anyway, no help for Matt?

Share this post


Link to post
Yes, yes... But what's the trick for keeping the old data! My objects retrive data from the symdef every time.

But coming to think of it: there are other oddities here. Not that I'd actually use the drawing border, but occasionally one has to test these things...

In handling the record format of a custom title block, the drawing border did, I seem to recall, a pretty good job. But line weights were totally effed up!

The revision table was a disater so that was the end of my testing.

Just store the name of the current symbol being used. Don't update the data unless you get a button push from the OIP, just the the Title Block does.

You can adjust the line weights as you see fit. At least in previous versions, you are right, the Revision data was a mess. I have not checked it in VW2009.

OK if you are going to be pushy about it ;-)

This works in VW2008. It does not yet work in VW2009, but I am exploring options. I think there is a bug/feature that prevents you from showing data from hidden record formats in the worksheet.

In any case in VW 2008 do the following:

1. Create a new worksheet.

2. Select a row header and create a database with a criteria of Record Drawing Border is Present and click OK

3. Before doing anything else, edit the formula in the formula bar to say

=DATABASE((R IN ['Drawing Border - Universal']))

You should only have to add the " - Universal" at the end.

4. Select the cell in column A and enter a formula of:

='Drawing Border - Universal'.'titleBlock'

5. You should now have a list of the names of the title block symbols being used for each title block.

6. Select the cell for the title block that you want to use for all of the title blocks and Copy the data from the cell.

7. Select all of the cells in the database portion of the column and Paste the name you copied.

8. Go and check if all of your title blocks are now the same.

It sounds a lot worse that it is. The hardest part is setting the custom database criteria.

Pat

Share this post


Link to post

Unfortunately, I believe the function you need - Issue Manager - is only included in the Design series. In that software version any field name preceded with a "P_" can be entered in the File/Issue Manger and will update all occurrences of that field.

As to the comment about line weights, if you change the border object to assign line weight by clas, you can assign the border objects to a Border calss and change the line weights at will rather than accepting the default 0.70.

Share this post


Link to post

Spotlight has the "Smart" drawing borders. The problem is that although he can change the data in the title block across all of the borders, he can't change the "symbol" definition of the title block.

If you have your Pen Style, Pen Color, Line Style, Line Thickness are set to By Class, then they will take on the settings of the Drawing Border from the Attributes Palette. If they are set to anything else, they will set at the manual settings no matter the Drawing Border Attributes.

For Text, the Pen Color to By Class will cause it to use the Drawing Border settings. The Pen Style by Class will make it use the Drawing Border text attributes (Font, size, style).

These settings make me think that trying to use classes to control the look of your drawing border and title block will be difficult.

Pat

Share this post


Link to post

The steps I outlined above do work in VW2009. I don't know why they did not work for me the first time I tried them, but I just duplicated it.

Sorry for the confusion.

Pat

Share this post


Link to post

Yes the hard part is getting the custom database criteria.

I made my worksheet changed row to, to a database.

On your list of steps number 3 and 4 how are those different? If I make my database match that criteria then I still have that row highlighted I can drop #3 into that cell in the first column of my database and then do the same with 4 but where does the difference come into play?

Does this seem odd or am I missing something?

Thanks as always

Matt

Share this post


Link to post

In step 3, you need to make sure you are editing the criteria. In order to do that, you have to set the criteria first. So try this

3a. Set the criteria to Record is Drawing Border

3b. Go to the database header row and click on the row header (i.e. 3). Select Edit Criteria. Click Cancel to close the dialog box. Go to the formula bar and add the "- Universal" to the formula.

Pat

Share this post


Link to post

matt,

back to your original post;

i assume spotlight uses the same

"drawing border"?>

1

open the "Drawing Border Components"

symbol folder + edit the 2d symbol

there. finish + go to the sheet layer

at the top of the list.

2

select the border + toggle something

like "Fill Border" in the OIP,

and the border will update to

your new title block.

3

Use ctrl-down to the next sheet,

select border, toggle "fill border".

ctrl-down,

select border,

toggle "fill border".

etc etc

for only 20 sheets this is faster than

writing a script, although i'm sure petri

could do a script like this with his eyes

closed.

you aren't likely to change a title block

graphic retrospectively too many times in

a given project?

another way around is to use the "info editor"

tool by charles chandler, from http://scs-inc.us.

in info editor, have the "all layers" constraint

on, select "drawing border", select all entries,

toggle a meaningless setting, done.

hope this helps

Share this post


Link to post
PROCEDURE RedrawObjects;

PROCEDURE RedrawObject(objHandle:HANDLE);
 BEGIN
   ResetObject(objHandle);
 END;

BEGIN
 ForEachObject(RedrawObject,T=PLUGINOBJECT);
END;

Run(RedrawObjects);

Share this post


Link to post

D-Works you are the man.

That worked perfect and when I put it in my workspace I can assign it a little hot key and then all title blocks are updated. Thanks!

Share this post


Link to post
D-Works you are the man.

That worked perfect and when I put it in my workspace I can assign it a little hot key and then all title blocks are updated. Thanks!

But be carefull to use this! There is a problem I forgot to tell.

If you do this and all drawing borders are set to take the size of the page they are on, they will all resize to the size of the page of the current layer. Just something to keep in mind.

You can also put other criteria in there if you don't want to redraw all the pios. You can redraw only the drawing borders if you use PON='Drawing Border-Universal' (if I can remember correctly.)

Edited by DWorks

Share this post


Link to post

Will keep in mind.

I am lucky with the one at least is that I do not do fit to page because that takes into account my printers margins and I want it to take the border offset the actual paper size.

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.

Guest
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...