- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Need to create pipe programmatically with C#.
Also converting from solid 3d is also fine.
Solved! Go to Solution.
Link copied
Need to create pipe programmatically with C#.
Also converting from solid 3d is also fine.
Solved! Go to Solution.
Check this code and also the project attached
Pipe pipeEntity_Pipe1 = CreatePipe();
// Set part entity position PIPE1
pipeEntity_Pipe1.StartPoint = nextPartPos;
pipeEntity_Pipe1.EndPoint = nextPartPos.Add(new Vector3d(60, 0, 0));
pipeEntity_Pipe1.OuterDiameter = (double)specPart_Pipe1.PropValue("MatchingPipeOd");
Thanks a lot. this is very useful.
@quan_hm Do you have code for creation of support and equipment(any)?