Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can polyline have differrent linetype in single line?

29 REPLIES 29
SOLVED
Reply
Message 1 of 30
waseemtarik
3717 Views, 29 Replies

can polyline have differrent linetype in single line?

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

29 REPLIES 29
Message 2 of 30
rkmcswain
in reply to: waseemtarik

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
Message 3 of 30
dmfrazier
in reply to: waseemtarik

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.

Message 4 of 30
waseemtarik
in reply to: dmfrazier

@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.

Message 5 of 30

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.

Message 6 of 30

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
in reply to: dmfrazier

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.

Message 8 of 30
waseemtarik
in reply to: dmfrazier

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

Message 9 of 30
rkmcswain
in reply to: waseemtarik

@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
Message 10 of 30
dmfrazier
in reply to: waseemtarik

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

Message 11 of 30
waseemtarik
in reply to: dmfrazier

@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

Message 12 of 30
dmfrazier
in reply to: waseemtarik

"...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?

Message 13 of 30
RobDraw
in reply to: waseemtarik


@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.
Message 14 of 30
waseemtarik
in reply to: dmfrazier

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

Message 15 of 30
dmfrazier
in reply to: waseemtarik

"...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.

Message 16 of 30
dbroad
in reply to: waseemtarik

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.
Message 17 of 30
Anonymous
in reply to: waseemtarik

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.....

Message 18 of 30
waseemtarik
in reply to: dbroad

@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

Message 19 of 30
waseemtarik
in reply to: Anonymous

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

Message 20 of 30
dbroad
in reply to: waseemtarik

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

State of Sustainability Webinar


AutoCAD Inside the Factory