Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get Pipe Start and End from the pipes imported from .vue files?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
lokit.khemka
473 Views, 5 Replies

How to get Pipe Start and End from the pipes imported from .vue files?

I have a layer of pipes imported from .vue files and I need to extract the pipes Start and End Positions programtically similar to how I am able to do for models imported from Civil3D (.dwg) files. How can I do that using Navisworks API?

 

 

In case of the .dwg files, I get the following properties including "GeometryStartPoint" and "GeometryEndPoint".

Roamer_ivFkpNDJx8.png

I want the same for pipes in gray in the figure and the one highlighted in blue. They differ in source from above pipe, in this case, it is .vue, rather than .dwg.

Roamer_T3cVJBroEx.png

 

Thank you for any help.

5 REPLIES 5
Message 2 of 6
timw3333
in reply to: lokit.khemka

You need to customize pipe property in .vue file to show start/end point.
Then you can see those properties in Smart 3D property category.
Otherwise all we can do with NavisWorks API is to get volume range of each pipe.

Message 3 of 6
lokit.khemka
in reply to: lokit.khemka

Thank for the reply. It seems that data is not present. So, can I at least extract mesh for the bodies using Navisworks API? @timw3333 

Message 4 of 6
timw3333
in reply to: lokit.khemka

Use BoundingBox function of ModelItem or ModelGeometry.

Message 5 of 6
lokit.khemka
in reply to: lokit.khemka

@timw3333  Can you elaborate a little? Because BoundingBox gives an  as below:

 

<Pipe_Item ItemName="Geometry">
            <BoundingBox>Min((-872.7531183868703692, -3530.0652093730595880, 1176.8433783988875803)), Max((-871.8572850200583844, -3529.1693760062471483, 1196.7564164862169491))</BoundingBox>
        </Pipe_Item>

as below. How can I extract mesh from that? Thank you.

 

Message 6 of 6
timw3333
in reply to: lokit.khemka

In your example data, the pipe is vertical started from 1176 ended at  1196. X,Y must be center point of min/max of X/Y.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report