Jump to content

redline tool


krw

Recommended Posts

We have a problem with the redline tool not being red. It starts out red when I draw the rectangle but switches to black after I have finished typing the text. In the attributes box the color is red but the redline appears black on screen. I created a new document and did not seem to have this problem. Is this a bug in this file or was a preference set incorrectly?

I am working on VWArch 10 on mac os 9.2, but the document was created on a computer using os 10.

Link to comment
  • Vectorworks, Inc Employee

The reason this document is exhibiting this behavior is that the "None" class in the document is set to have its graphic attributes used at creation. While the Redline object container is drawn in the Redline class, the individual pieces of it (the lines and text) are drawn in the None class. The explanation for this is long and doesn't bear going into here, but this is the way we do things by default. The easy fix for this is:

1. Open up the Classes dialog. Select the None class. Double-click it. Uncheck the "Use at creation" checkbox on the left. Close.

2. Regenerate your redlines by choosing the Organize/Scripts/Create Plug-in command and, when the window appears, simply click OK.

All your objects should now be properly drawn.

Link to comment
  • Vectorworks, Inc Employee

You can do this, since you're on a Mac, if you're willing to edit a resource, however it will not work only for the Redline object, it will cause all objects to have all their contained primitives (lines, arcs, polys, text, 3D stuff, etc.) drawn in the "container class" of the object.

I don't personally recommend this -- it's MUCH easier simply to turn off attributes-by-class on the None class, as I have already recommended -- and there are philosophical reasons not to do it also. For example, if you do a worksheet to count all your objects in the "redline" class, what do you want: the number of redline objects, or the number of primitives making up redlines? I contend the former, and that is why we do what we do.

If you must do this, open up the resource file 'IP resources.rsrc' found in your Plug-ins folder, and change the string in resource ID from 'FALSE' to 'TRUE'. The assumption is you know how to edit resources using ResEdit. All the usual caveats regarding editing resources apply here (keep a copy of the original file, and if you're caught, NNA will disavow any knowledge of your existence, etc.) Once you do this, all plug-in objects will draw all their primitives in the class to which they've been assigned.

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.

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.

×
×
  • Create New...