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".
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.
Thank you for any help.
Solved! Go to Solution.
Solved by timw3333. Go to Solution.
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.
@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.
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.