PDA

View Full Version : shape in linetype


sturner
2004-07-12, 07:58 PM
o.k. i've been working on this for days now with no sucess. i have a complex linetype with a shape in it. the problem is i want the spaces between the shape to remain constant no matter the scale BUT it also has to scale correctly. any ideas?

Mike.Perry
2004-07-13, 07:54 AM
Hi

If your LineType definition is working correctly (Loads; Definition appears/looks as you want etc) then you can only control the appearance (length of dashes, gaps etc) using the normal AutoCAD controls for LineType appearance -

LTScale
PSLTScale
CELTScale

Have a good one, Mike

jpaulsen
2004-07-13, 04:57 PM
i want the spaces between the shape to remain constant no matter the scale

As far as I know what your asking for is not possible with AutoCAD. The spaces, dashes and shapes will change scale based on your LTSCALE.

We use a line type for road striping (10' x 30' skip). In order for the spaces and dashes to be 10' and 30' we had to create a linetype for each plotted scale that we would use them with. I believe you will need to take the same approach for your complex linetype.

glen.21464
2004-07-13, 06:17 PM
Though the idea of creating a linetype for each scale is probably a good one, I would like to make one other possible solution. The only problem is it would take some math, but once you determined the number for each scale it would work. You could change the line type scale of the specific object to adjust it back to the correct scale. This would work to get the dashes correct, the size of the symbols, that I do not know. For example, if the line type was created for say a drawing at a scale of 1"=10' and a linetype setting of 5 (using feet as your units). If you needed this same linetype for a drawing at 1"=20' and a linetype setting of 10, all the dashes and gaps would be twice as big. To return them back to the desired size change the linetype scale of the object to .5. I don't know if that helps.

sturner
2004-07-14, 07:55 PM
thank you for the responses.
the solution i came up with and i have it being tested now is to turn off the psltscale so the linetype does not get scaled when the viewport is regenerated. keep the ltscale at one for paper and model space. the viewports will be scaled, (it is not uncommon to have two different scaled viewports in one sheet). and finally change the acad.lin file to display correctly with a ltscale on one.
if this works it will be simpler than having diffrent linetypes for each scale or changing the ltscale of a line(which is what some were doing and causing havioc)
i was changing the acad.lin file anyway to use the ltscale of one instead of a oddball .375 that they have been using for years. i have scripts to update the existing drawings to try and make this as smooth as possable(i hope).
thanks again
-sean