HP Sauce Posted January 13, 2009 Share Posted January 13, 2009 Is it possible to tell Vectorworks that class "NonPlot" should not be plotted even if visible? Much like Defpoints works in ACAD. I have searched but the answers given were from long ago, and I'm hoping something has been implemented since. 1 Quote Link to comment
panthony Posted January 13, 2009 Share Posted January 13, 2009 If you have veiwports set up pre-configured with Non-Plot class set as not visible it will not plot. Quote Link to comment
HP Sauce Posted January 13, 2009 Author Share Posted January 13, 2009 I realise that but it's nice to have a class that, regardless of human error, will never print. Quote Link to comment
Ariel Posted January 14, 2009 Share Posted January 14, 2009 Why would you want that? With saved views and customizable viewports as better alternatives, I'm having difficulty thinking up of a scenario where I would need such a feature. Quote Link to comment
panta rhei Posted January 14, 2009 Share Posted January 14, 2009 I think the operative words here are ?human" & "error?. Whatever, if one makes a menu command of the following script (use at your own risk) and assigns CMD-P to it, instead of the normal Print -command, there is less room for error. PROCEDURE HideNoPlotAndPrint; { ? Petri Sakkinen 2009 } CONST classToHide = 'NoPlot'; VAR layerName : STRING; layerHd : HANDLE; ok : BOOLEAN; PROCEDURE HideIt (h :HANDLE); BEGIN IF (GETTYPE(h)=122) THEN ok := SETVPCLASSVISIBILITY(h, classToHide, -1); END; BEGIN HIDECLASS(classToHide); layerHd := FLAYER; WHILE NOT(layerHd=NIL) DO BEGIN IF (GETOBJECTVARIABLEINT(layerHd, 154)=2) THEN BEGIN layerName := GETLNAME(layerHd); FOREACHOBJECT(HideIt, L=layerName); END; layerHd := NEXTLAYER(layerHd); END; DOMENUTEXTBYNAME('Print', 0); END; RUN(HideNoPlotAndPrint); Quote Link to comment
HP Sauce Posted January 14, 2009 Author Share Posted January 14, 2009 Exactly, Panta. Certain personalities have a habit of happy-clicking into trouble. Obviously the best solution is to remove these person(s), but that's not up to me. Thanks for the script Mr P. Quote Link to comment
panta rhei Posted January 14, 2009 Share Posted January 14, 2009 You're welcome. (Incidentally, I had planned to write such a command for ?my users? so now it is done.) Quote Link to comment
MaleXLR Posted January 6, 2010 Share Posted January 6, 2010 Sorry to arrive so late for this topic. I used to use ?defpoints? a lot and would leave little notes for myself, like why this modification was made, sizes of structural members, ?note to self?, etc. In fact I pretty much used it in the way that I would use construction lines on a drawing board, but was able to leave them there for reference instead of rubbing them out! As we are making more use of live elevations and sections, with annotations in the viewport it would be nice to have these rough notes visible in the viewport without the risk of them ever printing/plotting. The CMD-P (Ctrl+P for us) script looks handy, but what would happen if we use the File > Print option instead of a keyboard shortcut? Presumably this would bypass the script!?! 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.