creating a new pipe segment

creating a new pipe segment

Anonymous
Not applicable
1,224 Views
3 Replies
Message 1 of 4

creating a new pipe segment

Anonymous
Not applicable
Hi, in the old C# API there was a function a function : Autodesk.Revit.DB.Plumbing.Pipe Autodesk.Revit.Creation.Document.NewPipe(XYZ, Connector, PipeType) but this has been removed from the 2016 API. Possibly by something less logical and transparent. Can someone please teel me how to create new paramterized pipe segments in an empty document?
0 Likes
1,225 Views
3 Replies
Replies (3)
Message 2 of 4

eric_grey
Autodesk
Autodesk

Try using this:

Autodesk.Revit.DB.Plumbing.Pipe.Create(…)

 

Eric



Eric Grey
Software QA Analyst
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thank you for your help Eric. Can you tell me what is the best way to get started in understanding Revit/the SDK? I did the quick tutorial but that is very low level ('what is programming' introduction). Should I understand Families first or sth?
0 Likes
Message 4 of 4

eric_grey
Autodesk
Autodesk

You will probably want to look at the SDK samples from here:

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=2484975

 

Hope that helps,

Eric



Eric Grey
Software QA Analyst
0 Likes