AutoCAD Express Tools
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi all,
I have a problem I haven't found an answer to in any CAD documents, books of forums. I would like to create:
a) a continuous line that begins and ends with space or a shape
b) a line (of any type) that has text (i.e. shape) imbedded exactly in the middle (no matter how long a line is) or at equal intervals (e.g. each 1/3 of the line)
Is there any chance linetypes like that can be created or will I need to resort to lisp and trimming/breaking the lines once drawn?
The problem is related to cartographic symbols defined by the State Geodetic Administration.
I'm attaching examples of what I would like to achieve.
Best regards.
Solved! Go to Solution.
Re: Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thought so.
Thx anyway.
Re: Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Linetypes won't do what you want, but it would be possible to approach the problem in a couple of different ways:
One would be a custom LISP command for each specific line 'style' you want, using annotative blocks and text.
Another would be using a Dynamic block for the different lines.
Can you post blocks of the symbols you want to use? and a verbal description of how the lines need to appear on the final product?
Re: Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
As for LISPs, I already thought of that but the problem is that if I wanted text in the middle of the line, the text than has to be inserted in the middle after which the line has to be trimmed to the text which would create two separate lines, and that in itself makes a drawing more complex, not to mention it causes extra problems in case of subsequent alterations or editing of geometry.
As for dynamic blocks, I haven’t had any experience working with those but wouldn’t my text (if I chose that kind of linetype) become stretched in a longer (and vice versa) line? The same goes for the initial space of a continuous line as I mentioned above.
I've already posted linetype examples in my first post if that's what you're referring to.
Re: Linetypes with specific parameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
well, you posted a 'picture' of what you want to see -- if I try to work with that I'd be making a lot of assumptions, and you know what they say about assuming.... Posting a dwg with sample lines that include the block, and a description oif what rules apply to which line would be helpful:
for example:
@-------------------- COT ----------------------------@
Block "A" at each end, with text (font & style) centered, plotted height 1/8"
%----------DD----------------------------DD-------
Block "P" at each end, with text (font & style) centered if line length less than X" , else evenly distributed at x/3, plotted height 1/8"
A LISP routine would not necessarily end up with multiple unrelated entities, they could be grouped, or defined as an anonymous block. Text could be masked, or enclosed
Other questions that would come up would be ARCs, and plines with multiple vertices -- how should they be handled graphically?

