Tagging instruments in the 3D Model in order to display in review model, i.e. Navisworks

Tagging instruments in the 3D Model in order to display in review model, i.e. Navisworks

robert.barryWUWN6
Participant Participant
1,835 Views
8 Replies
Message 1 of 9

Tagging instruments in the 3D Model in order to display in review model, i.e. Navisworks

robert.barryWUWN6
Participant
Participant

Does anyone know of a Plant3D command or lisp routine to auto tag instruments in the actual 3D model. Similar to the tagging in the piping isometric or orthographic annotation functions?  Pulling the intelligence from the model.

Please see the image for the desired end result. Thanks in advance for any help or direction.

Rob

Piping Designer

0 Likes
Accepted solutions (4)
1,836 Views
8 Replies
Replies (8)
Message 2 of 9

matt.worland
Advisor
Advisor

BUBBLEWorx and ANNOWorx can  do this to an extent.

They were built for adding annotation in Paper space, but currently do add it to Model Space with a small adjustment after it has been inserted. The blocks text size and shape are customizable.

Here is an example

mattworland_0-1680021116291.png

 

 

Feel free to message me if you have any questions.

If my reply was helpful, please give a "Thumbs Up" or "Accept as Solution"
0 Likes
Message 3 of 9

jabowabo
Mentor
Mentor
Accepted solution

Here's a simple LISP:

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

robert.barryWUWN6
Participant
Participant

Thank you so much Jason , nice stuff. I can definitely use the line number tag function.  Great starting point.  I'm going try an instrument tag number version using your routine as a reference. I am assuming this can be done?

Gonna try to figure it out but any help or reference will be appreciated.

Thanks, Rob

 

0 Likes
Message 5 of 9

robert.barryWUWN6
Participant
Participant

Matt, This is definitely worth lookin into. Looks like it costs money which is okay as long as it works well. Might not be as intuitive as I would like.  I will have to look further into it. There is a lost of tools in there,  was there a specific program name for this? How much of a small adjustment to covert modelspace?

Thanks

Robert

0 Likes
Message 6 of 9

jabowabo
Mentor
Mentor
Accepted solution

@robert.barryWUWN6 wrote:

 I'm going try an instrument tag number version using your routine as a reference. I am assuming this can be done?


Should work on any item with a 'Tag' property.

Message 7 of 9

matt.worland
Advisor
Advisor
Accepted solution

@robert.barryWUWN6 wrote:

 was there a specific program name for this? How much of a small adjustment to covert modelspace?

Thanks

Robert


The hexagon shape came from BUBBLEWorx, and the other was from ANNOWorx. The BUBBLEWorx leader can be transformed into a 3d block if needed. As for the adjustments, it's adjusting the elevation of the leader when placed. We haven't had a lot of drive for this in the past and have not automated it for our model space annotations.
I have sent my email in a PM if you would like to discuss in more detail.

If my reply was helpful, please give a "Thumbs Up" or "Accept as Solution"
Message 8 of 9

robert.barryWUWN6
Participant
Participant

Okay Jason, I got it to work... kind of and also kind of hard to put into words. It doesn't populate the instrument tag value physically until I run the command a second time. Up until then, the mtext box is shown blank, As soon as I pick the instrument on the 2nd command the value updates I hit cancel and Bobs your Uncle. Doe make sense? I ran it on 2019. maybe that makes a difference. I will try other versions when I get freed up. Thx

 

0 Likes
Message 9 of 9

jabowabo
Mentor
Mentor
Accepted solution

Works as expected here. There are a few clicks that are necessary to complete the command. Are you following the command line prompts when inserting? Could be a different system variable value causing the issue...