AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello,
I am wanting a soultion to a problem I am having when trying to have a combination of linetypes I either want psltscaled or not in a view port.
I.e. I want services linetypes to use psltscale = 1 and I want my linemarking linetypes to use a psltscale = 0, as I need the linemarking linetypes to show in the viewport at the original size they were created at but not the services linetypes as they look horrible.
OR, is this a case for using overrules?
Thanks
Peter
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Linetypes are annotative to begin with, and setting PSLTSCALE to 1 is what allows the same linetype to look the same scale across several viewports of differing scales. You are looking for some linetypes to actually appear larger in some viewports yet smaller in others? You can't mix results but you can have multiple copies of a line, each on a different layer, and override the linetype scale of each...
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks For your reply Bob,
Yes what I require is a property for certain objects or layers to be able to tell them that I dont want them to be annotative. Surely if they are set by default to being annotative then I can also tell them not to be annotative?
When including linemarking for roads projects in a drawing, you need the linespacing to be displayed in the viewport as it displays in the model (i.e. no scaling of the spaces and dashes)
This wouldnt be so much of a problem if you could only set psltscale per viewport as then i would simply turn it off in the linemarking drawings.
Surely a simply object property would be better, simpler and quicker than creating a whole bunch layers with scaled line types? My way above would make it automated instead of having to put linetypes on different layers in different viewports?
If anyone from autodesk or anyone else has a work around or a hardcode for this please let me know. Even if theres some way of setting it in the .lin file that you dont want it to be annotative, that would be great.
Thanks
Peter
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Perhaps add more linetype definitions scaled according to your viewport scales, and assign them by viewport to counter-act PSLTSCALEing.
For example, if you created a new linetype called "Dashed_10X" and made it so the pen up/pen down distances were 10 times as large as the standard "DASHED" linetype, it would display the same in a 1:10 viewport as "DASHED" does at 1:1
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for your comments,
Yeah, that is what is currently happening at the moment(as above comment), having different scaled linetypes for different views. It becomes a real pain when you have plans and detail at a few different scales throughout your whole drawing set. It would be easier to just be able to tell the string that you either do or do not want it scaled. Either in the layer manager or by the objects properties.
Thanks anyway
Peter
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Can anyone tell me how I apply ObjectARX Referencing? Specifically the SetForceAnnoAllVisable routine?
Can be found here http://docs.autodesk.com/ACDMAC/2012/ENU/ObjectARX
Im assuming this will let me force the linetype scale to be 1:1 for this object (polylines that have linemarking linetypes associated with them) regardless of the psltscaling?
Any help
Thanks
Peter
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Peter,
SetForceAnnoAllVisable() function in ObjectARX effect only annotative objects
linetypes are not annotative objects
try google and find a lisp that can explode linetypes
here some links:-
http://www.cadforum.cz/cadforum_en/how-to-explode-
http://cadpanacea.com/node/121
Cheers
Moshe
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Moshe
That seems like a OK work around.
I am curious though, almost all searches on google come up with annotative linetypes? Therefore the ObjectARX should work?
Cheers
Peter
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
By chance would setting individual object linetype scale settings be what you seek (as an alternate to your current solution)?
Select an object, open PROPERTIES, and set the LINETYPE SCALE (third from the top) to something other than 1.
Also explore CELTSCALE variable.
Re: Set psltscale per linetype
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Pendean,
No, not really trying to set a scale, rather I need turn that objects ability to scale off completely.
Thanks
Peter

