How to make line number tag visual in 3D model?

How to make line number tag visual in 3D model?

m.bevers
Advocate Advocate
1,718 Views
3 Replies
Message 1 of 4

How to make line number tag visual in 3D model?

m.bevers
Advocate
Advocate

Okay, gonna try and explain what I'd like to know Smiley Very Happy:

 

Is there a way to make line numbers visual (as text) in a 3D model?

 

Right now in plant3D I create a Mtext, manually type the correct line number and then place the text next to the corresponding pipe, like this:

2018_05_17_11_48_33_Autodesk_AutoCAD_Plant_3D_2017_Existing_piping.dwg_.jpg

(plant 3D screenshot)

 

With the goal to make line numbers visual in Navisworks, so our clients can easily see what they are looking at. 

2018_05_17_11_50_30_Lijn3_F50_and_TRIPLE_UNITS.nwf_Autodesk_Navisworks_Simulate_2017.jpg

(Screenshot from Navisworks. What I'd like to see)

 

Doing it like I mentioned above is a lot of work, a potential threat for human errors and when changing a pipe route or line number you also have to manually move/change the mtext of course... So it's a PITA Smiley Tongue

 

Is it possible to make something where you just click a piece of pipe and have p3d automatically place the line number text near the point where you clicked?

Perhaps a component that one can select from the pipe spec tool palettes and insert somewhere in a pipe (like a little name plate or something..)

 

0 Likes
Accepted solutions (2)
1,719 Views
3 Replies
Replies (3)
Message 2 of 4

291429300
Contributor
Contributor

Hi,You can only do this through P3D development. If you need ,I can help you.   My email is  [email protected]

0 Likes
Message 3 of 4

Dan.Scales
Alumni
Alumni
Accepted solution

Hi @m.bevers,

 

Unfortunately the functionality that you describe is not currently available in Plant 3D.

 

Thanks,

Dan

 



Dan Scales
0 Likes
Message 4 of 4

jabowabo
Mentor
Mentor
Accepted solution

Here's an example with LISP. 

; [email protected]
; Note: Current mleader style needs to be type Multileader Type: "Mtext"
; 
(defun c:TagLine ( / myEnt vlaobj lineNumTag mlObj)
  (vl-load-com)
  ; get the line number from piping obj
  (setq myEnt (car (entsel)))
  (setq vlaobj (vlax-ename->vla-object myEnt))
  (setq lineNumTag (vlax-get-property vlaobj 'LineNumberTag))
  
  ; create the mleader. 
  (command "_MLEADER" pause pause "")
  
  ; change mleader text to line number tag
  (setq mlObj (vlax-ename->vla-object (entlast)))
  (if (= (vlax-get-property mlObj 'ObjectName) "AcDbMLeader")
    (vlax-put-property mlObj 'TextString lineNumTag)
    (exit)	   
  )
  (princ)
)