PDA

View Full Version : How do you control linetypes in Layouts?



Robert.Hall
2005-05-12, 12:38 PM
Is there a way to set a default linetype scale for all viewports?????
I believe psltcale needs to be zero and then the linetype scale can be set
in the properties window. For all my drawings I need to set the ltscale in the
layouts to .1 in order to get dashed lines to show..........any way to set it
up as a default so that I do not have to repeatedly change the settings?

RobertB
2005-05-12, 02:17 PM
You are doing too much work. ;) Let AutoCAD control the linetype scaling via PSLTScale. When PSLTScale=1, then you want LTScale to equal what it would be for a 1:1 drawing. Then, all the viewports you add will automatically scale the linetypes of the objects they are displaying. There is no need to change the LTScale of the viewport itself.

BTW, I move this thread from the Visual LISP forum since you hijacked another thread with this post.

Robert.Hall
2005-05-12, 04:46 PM
Doesn't work for me.......my titleblocks are in modelspace.
Only way I could make that work is if I use colors to represent hidden lines, centerlines, etc.
Not real good when I have to send Cad data to a customer and all they see are 6 different colors of lines going every which way.

RobertB
2005-05-12, 04:52 PM
:confused: If your titleblocks are in MS (I'm not going there!) then why are you even in a layout?

Robert.Hall
2005-05-12, 07:18 PM
lol, how would I get a multisheet plot and/or dwf file from modelspace????
Besides, I inherited several thousand files that are drawn in this manner :-(

RobertB
2005-05-12, 08:59 PM
So does this 2nd sample show you how to do it?

And don't continue to do stuff the old way simply because "that's the way it's always been done." Get the powers-to-be to use layouts as intended.

Robert.Hall
2005-05-13, 12:25 PM
Thats got nothing to do with what Im dealing with, I haven't got a time machine to go back and change several thousand files to use layouts the correct way.

RobertB
2005-05-13, 01:24 PM
Thats got nothing to do with what Im dealing with, I haven't got a time machine to go back and change several thousand files to use layouts the correct way.
I'm not talking about going back and changing 1000's of drawings, only future ones.

Did you look look at the 2nd sample drawing I posted? You haven't indicated if it works, or not.

kbsheppard
2005-05-20, 04:08 AM
Haven't checked the sample dwg's (I'm at home right now) but how about this...normally in PS you'd add a titleblock then add a smaller viewport to view a portion of the MS objects but what about doing it in reverse, make a PS layout with nothing but a viewport and display all the MS objects including the titleblock within that VP...set psltscale & ltscale accordingly?

Robert.Hall
2005-05-20, 12:11 PM
Haven't checked the sample dwg's (I'm at home right now) but how about this...normally in PS you'd add a titleblock then add a smaller viewport to view a portion of the MS objects but what about doing it in reverse, make a PS layout with nothing but a viewport and display all the MS objects including the titleblock within that VP...set psltscale & ltscale accordingly?

That is exactly what I am doing, check some of the other threads, there is a routine to make sure the psltscale is set to zero for all tabs.