3D Polyline to show linetype

3D Polyline to show linetype

tamara
Advocate Advocate
15,291 Views
10 Replies
Message 1 of 11

3D Polyline to show linetype

tamara
Advocate
Advocate

Hello,

 

is it possible to show different 3D Polyline linetypes in AutoCAD Map 3D or in plain AutoCAD. I can't get them to show, and it seems a bit odd if this is not possible... Also I can't find anything clear on this subject on net.

 

 

 

0 Likes
Accepted solutions (1)
15,292 Views
10 Replies
Replies (10)
Message 2 of 11

АлексЮстасу
Advisor
Advisor

AutiCAD does not display linetypes for 3D polylines.
Of course, it 's weird, but it 's, alas, it is.
You can use linetypes in Map 3D in sdf.
It seems that special linetypes can be used in 3D Civil objects in dwg.
But they will not be visible if you open such dwg in normal AutoCAD.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 3 of 11

TerryDotson
Mentor
Mentor

While AutoCAD won't display linetypes on 3DPoly's it can store the designation.  So what I used to do was make all the assignments, then right before plotting:

 

  1. Save to TRASH.DWG.
  2. QSelect all 3dPolys.
  3. Explode the 3dPolys
  4. Plot
  5. Close

Sad that it was almost 30 years ago and it's still that way.  How much blue theme would you give up for some useful functionality?

Message 4 of 11

O_Eckmann
Mentor
Mentor
Accepted solution

Hi,

 

I've written a plugin to show linetype on 3D poly. I join DLL to load with NETLOAD command

Once it's loaded, you have 2 commands : 

LINTYPP3DON to show linetype

LINTYPP3DOFF to show standard AutoCAD display (linetype not shown)

 

Olivier

Olivier Eckmann

EESignature

Message 5 of 11

tamara
Advocate
Advocate

Nice, 

I am familiar with .Net API for AutoCAD. Could you tell me a bit about your code, it sounds interesting. Didn't occurred to me to follow that approach 😄 

0 Likes
Message 6 of 11

O_Eckmann
Mentor
Mentor

Hi,

 

It's an overrulle on worlddraw to redraw each segment as line instead of drawing 3DPolyline, because line, even in 3D, support graphical linetype.

 

Olivier

Olivier Eckmann

EESignature

Message 7 of 11

tamara
Advocate
Advocate

Thank you, I will test it nowadays.

0 Likes
Message 8 of 11

Mahass
Contributor
Contributor

Very nice plug in ... thanks for you.

I tried, it work perfectly. Can you tell me in which language it is written? if it is a .NET DLL i'll be thankful if you send me the code.
Thanks

0 Likes
Message 9 of 11

JanardFugro
Contributor
Contributor

Enter command LINETYPE3DPLINEON to display line type and command LINETYPE3DPLINEOFF to switch it off

Message 10 of 11

gla_nojaf
Community Visitor
Community Visitor

Could you please publish or send the code for this plugin, i am unable to load it in my release of autocad and it would be very useful to have.

0 Likes
Message 11 of 11

JanardFugro
Contributor
Contributor

Sorry to hear that, may be this command only works in AutoCAD civil 3D. it's not a plug in.

0 Likes