can polyline have differrent linetype in single line?

can polyline have differrent linetype in single line?

waseemtarik
Advocate Advocate
5,184 Views
29 Replies
Message 1 of 30

can polyline have differrent linetype in single line?

waseemtarik
Advocate
Advocate

hello everyone, I was wondering if there would be such a thing to have a poly-line in different line-type but not for all of 4th lines, just for one of them, is there anything like that, or does someone have different idea on how to do it?

I don't want to use lines because it takes time to move or delete it.

I'm using full version of AutoCAD 2020.

 

please let me know even if it's an app or lisp to use. I have a big project and has to be one solid line and one with hidden line.

 

thank

0 Likes
Accepted solutions (1)
5,185 Views
29 Replies
Replies (29)
Message 2 of 30

rkmcswain
Mentor
Mentor

You could draw LINES (bear with me....), give them whatever properties you want including various linetypes, then make them into a GROUP for ease of future editing such as move, copy, etc.

 

I seem to recall that you could assign varying properties to individual segments of a polyline (the old POLYLINE entity, not the "new" LWPOLYLINE") - but I'm pretty sure the varying properties would not *display* as assigned. This post seems to confirm my recollection.

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 3 of 30

dmfrazier
Advisor
Advisor

If the previous response didn't adequately answer the question, perhaps you could provide a visual sample of what you have described. I know that would be helpful for me, at least.

0 Likes
Message 4 of 30

waseemtarik
Advocate
Advocate

@dmfrazier @rkmcswain 

 

see attached, something like this but in a polyline, group doesn't let me stretch it and that's will slow my drafting.

0 Likes
Message 5 of 30

Johanna_Esteban
Advisor
Advisor

Hello @waseemtarik

 

I think creating a dynamic block can work, you can edit it and it also behaves as a single entity, so its handling is more practical.

 

Regards, 



Johanna Esteban

EESignature


Autodesk Expert Elite | Autodesk Certified Professional | AutoCAD Customer Council (Beta Tester for Windows & Mac)

¿Te ha parecido útil este post? ¡Dame Kudos! 😉
Si ha sido resuelta tu inquietud, selecciona 'Marcar como solución' para que otros usuarios la encuentren fácilmente.

0 Likes
Message 6 of 30

vladimir_michl
Advisor
Advisor

You can create a pseudo-polyline using parametric constraints - see a sample video:

 

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

Message 7 of 30

dmfrazier
Advisor
Advisor

Assuming this object is always straight (no bends or curves), and only changes in length (it could change in width also, if necessary), then I agree with the dynamic block approach. Slam dunk.

0 Likes
Message 8 of 30

waseemtarik
Advocate
Advocate

thank you all, but unfortunately I didn't get what I was looking for, maybe Autodesk need to have this in their upcoming version. 

0 Likes
Message 9 of 30

rkmcswain
Mentor
Mentor
@waseemtarik wrote:

..... maybe Autodesk need to have this in their upcoming version. 

I wouldn't hold out too much hope on that. AutoCAD 2022 will be the 36th release of AutoCAD and there is zero to suggest they would add this now. 

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 10 of 30

dmfrazier
Advisor
Advisor

Please explain why the dynamic block suggestion doesn't work.

0 Likes
Message 11 of 30

waseemtarik
Advocate
Advocate

@dmfrazierimagine working on a big projects that have more than thousand windows, with dynamic block you have to drag instead of stretching the window, which stretching is much easier and faster than dragging, specially when sizes is vary

0 Likes
Message 12 of 30

dmfrazier
Advisor
Advisor

"...with dynamic block you have to drag instead of stretching the window..."

 

Dynamic blocks can have stretch actions, so I really don't understand what you mean by this.

 

Based on the drawing (Test2) you posted earlier, it looks like a very simple dynamic block could be made. Are the "windows" you refer to more complex than that drawing implies?

0 Likes
Message 13 of 30

RobDraw
Mentor
Mentor

@waseemtarik wrote:

thank you all, but unfortunately I didn't get what I was looking for, maybe Autodesk need to have this in their upcoming version. 


 

Highly doubt it and you probably won't see it at any time. Better settle for another method while you wait.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 14 of 30

waseemtarik
Advocate
Advocate

@dmfraziercould you please provide a dynamic block that you can apply stretch command into it.

0 Likes
Message 15 of 30

dmfrazier
Advisor
Advisor

"...could you please provide a dynamic block..."

 

I certainly can, and I certainly will, but I can't do it right away (as production work must always take precedence). If someone else here doesn't slide it in ahead of me, I will try to get it to you later in the day.

0 Likes
Message 16 of 30

dbroad
Mentor
Mentor

If you need multiple objects to work as a single object, while having different linetypes and layers and also permit stretching, then create groups from the objects.  Groups can be edited, copied, grip edited, and stretched.  If you need tangencies to be maintained, add parametric constraints within the group. 

 

Lineweights are object properties, not segment properties. I can't see Autodesk ever adding multiple lineweights to a single polyline.  It would complicate everything.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 17 of 30

Anonymous
Not applicable

Making a block can take some time.  The easiest way to do this would be to draw your first polyline with your linetype.  Then draw your second polyline with it's different linetype.  Then use the parametric constraints (Coincident Function) to tie the ends together.  

If you select one line and stretch the end they will stay connected.  Similar to a polyline except they would be independent objects.  You can use this with arc, plines, lines, splines, hatches.....

0 Likes
Message 18 of 30

waseemtarik
Advocate
Advocate

@dbroadthank you sir, but I meant line-type,

working on a big projects when I have frames to be hidden by panels and others to be solid, if I work with lines, it'll slow my job and will take so much time if I need to delete one window or one panel. but with poly-line it's much easier to move, delete, and adjust. however I didn't understand your method, if you could please provide a sample in CAD file. thanks

0 Likes
Message 19 of 30

waseemtarik
Advocate
Advocate

@AnonymousI have never worked with parametric before, could you please provide a screenshot to explain what your idea, thanks

0 Likes
Message 20 of 30

dbroad
Mentor
Mentor

lines take no longer than polylines.  Draw polylines, explode as necessary, change linetype, and group.  Turn group selection on and copy as necessary.  I prefer to control visibility by layer, not by object as much as possible.  I do linetype overrides sometimes.

 

Group limitations:  Can't copyclip groups between drawings.  Must separately group after copyclip. 

IMO, windows should be AEC windows. Storefront should be AEC storefront objects. Using AutoCAD Architecture is more productive than plain AutoCAD. Windows can then be scheduled.  Windows typically shouldn't be stretchable anyway. Windows should have types.  A nested dynamic block would be better to implement a window type approach while allowing for quick editing.

 

Why don't you post a small sample drawing first that shows your needs  so we don't waste time?

Architect, Registered NC, VA, SC, & GA.
0 Likes