Revit API

Reply
Valued Contributor
Posts: 67
Registered: ‎03-25-2012
Message 1 of 8 (402 Views)

Pipe placeholder set system type

402 Views, 7 Replies
04-08-2013 02:05 AM

Hi,

 

I've done some searching but not turned up anything that describes how to set a pipe place holder system type.

 

Something like

 

Pipe pipe = Pipe.CreatePlaceholder(doc, pst.mPipeType.Id, s.mRevitLevel.Id, p, c);
Parameter prm = pipe.get_Parameter(BuiltInParameter.RBS_PIPING_SYSTEM_TYPE_PARAM);
if (prm != null)
prm.Set("Domestic Cold Water");

 

creates the placeholder, but system type is left "UNDEFINED".

 

Thanks in advance,

 

Jon

Employee
saikat
Posts: 185
Registered: ‎08-16-2007
Message 2 of 8 (386 Views)

Re: Pipe placeholder set system type

04-08-2013 11:32 AM in reply to: GeomGym

Ability to set the piping system type via the API if the pipe was created via the API is not supported at this moment.. I am not aware of any workaround that I can suggest unfortunately.

 

Sorry about that.
 



Saikat Bhattacharya

Valued Contributor
Posts: 67
Registered: ‎03-25-2012
Message 3 of 8 (382 Views)

Re: Pipe placeholder set system type

04-08-2013 12:56 PM in reply to: saikat

Wow.  When might we expect to be able to have this type of functionality provided?

 

I can't change the type manually on the created objects making them impossible to use.  Can you advise if this is possible?

Valued Contributor
Posts: 67
Registered: ‎03-25-2012
Message 4 of 8 (380 Views)

Re: Pipe placeholder set system type

04-08-2013 01:11 PM in reply to: GeomGym

Is it possible to generate pipes with types (not place holders)?

ADN Support Specialist
Posts: 348
Registered: ‎08-20-2007
Message 5 of 8 (343 Views)

Re: Pipe placeholder set system type

04-22-2013 11:56 PM in reply to: GeomGym

Dear Jon,

Thank you for your query.

I agree that this is pretty fundamental.

Unfortunately, the functionality you ask for is not currently available directly.

It is probably possible to work around this lack pretty easily in Revit 2014 using the new copy and paste functionality.

We have an existing wish list item 217278 [Wishlist: Ability to set the piping system type via the API if the pipe was created via the API] for this. I added a note of your request to this item in order to make the development team aware of its importance.

I hope this helps.

Best regards,



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Valued Contributor
Posts: 67
Registered: ‎03-25-2012
Message 6 of 8 (339 Views)

Re: Pipe placeholder set system type

04-23-2013 03:27 AM in reply to: jeremytammik

Hi Jeremy,

 

Thanks for the reply.  I look forward to seeing this type of functionality implemented in the Revit API.

 

I have requests and interest in generating building services models from the API, so when work is being done on this area it would be great if I could be involved in "beta-testing" this to avoid the situation where this aspect is fixed, but a new one arises (that I can't test until an official release occurs) slowing the progress of what could be a very powerful workflow.

 

Cheers,

 

Jon

ADN Support Specialist
Posts: 348
Registered: ‎08-20-2007
Message 7 of 8 (332 Views)

Re: Pipe placeholder set system type

04-23-2013 03:41 AM in reply to: GeomGym

Hi Jon.

 

Great! Well, as an ADN member, you are notified and invited to participate, aren't you?

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Valued Contributor
Posts: 67
Registered: ‎03-25-2012
Message 8 of 8 (329 Views)

Re: Pipe placeholder set system type

04-23-2013 03:49 AM in reply to: jeremytammik

It's true.  I just thought perhaps it could be noted on the case so I could be notified when this is worked on (I assume it will happen anyway as I opened the ADN case).

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Revit

Twitter

Facebook

Blogs

Youtube