AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tags (or Labels or Balloons) in 3D Piping Environment

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
volkan
1159 Views, 10 Replies

Tags (or Labels or Balloons) in 3D Piping Environment

Hi,

 

Probably this is a very easy thing to do but I can't find a solution.

 

I want to give permanent tags (or labels or ballons) in 3D piping environment to pipelines so I can easily identify their line number when I look at them. You may think the "label" as the image below but the label should remain permanent on the selected pipelines for easy identification.

 

Hope I can describe my question well.

 

3D_Pipe_Tag.png

 

Regards,

 

Volkan

 

Volkan ARI
10 REPLIES 10
Message 2 of 11
jabowabo
in reply to: volkan

I'm pretty sure this is not possible out-of-the-box.  The only tagging that can be set up in the project manager is for orthos.  However, this can be done with LISP or .Net if you have someone on staff familiar with either.

Message 3 of 11
volkan
in reply to: jabowabo

Thank you very much for your answer. I don't have any experience with .net and lisps. So i think it's better to manage those pipelines via layer manager. 🙂

Volkan ARI
Message 4 of 11
jabowabo
in reply to: volkan

Here's a quick example of how to accomplish this with LISP:  P3dTagLine

Message 5 of 11
volkan
in reply to: jabowabo

Thank you very much. I load the lisp via appload and it works like a charm. You save my day. 🙂

Volkan ARI
Message 6 of 11
enriquemiyaGUA6S
in reply to: jabowabo

Hi Guys, how to download the lisp file?

Message 7 of 11
willinsuite
in reply to: jabowabo

Do you still have this lisp file, the Box says its no longer there.

Message 8 of 11
jabowabo
in reply to: willinsuite

; wjasonhudson@gmail.com
; 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)
)
Message 9 of 11
willinsuite
in reply to: jabowabo

Oh I see, This doesn't work when the Piping is Xref'ed in.

 

Message 10 of 11
jabowabo
in reply to: willinsuite

LISP cannot access that info in an Xref - you can do it through .NET but it's tricky.

Message 11 of 11
willinsuite
in reply to: jabowabo

Yeah it's a real pain. I co-wrote a lisp a year or so ago that was able to do it but it has magically been deleted from the cloud drive it was stored on.

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

Post to forums  

Autodesk Design & Make Report

”Boost