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

Set line Patterm for piping system

5 REPLIES 5
Reply
Message 1 of 6
mikukzaz55
245 Views, 5 Replies

Set line Patterm for piping system

Hi Everybody!
I want to set the linepatterm for the piping system as shown below using the Revit api.
Help to me!
Thanks!Capture.JPG

5 REPLIES 5
Message 2 of 6
naveen.kumar.t
in reply to: mikukzaz55

Hi @mikukzaz55 ,

 

Please take a look at the below link

https://forums.autodesk.com/t5/revit-api-forum/how-to-get-overridegraphicsettings-of-a-piping-system... 

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 6
mikukzaz55
in reply to: naveen.kumar.t

Hi..

 my mean, I want to create a Piping System with line Patterm as shown below.

can you help me clear by code?

Thanks!

 

 

Capture.JPG 

Message 4 of 6
naveen.kumar.t
in reply to: mikukzaz55

Hi @mikukzaz55 ,

 

Please take a look at the below link

 

https://www.revitapidocs.com/2015/5275220d-9bb6-919d-20a1-adc9e10209e5.htm

 

These properties are exposed for read/write on MEPSystemType (and child classes, MechanicalSystemType, PipingSystemType): LineColor, LinePatternId, LineWeight, FillColor, FillPatternId, FillVisible, etc.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 6
naveen.kumar.t
in reply to: mikukzaz55

Hi @mikukzaz55 ,

 

To create your own piping system, you can use PipingSystemType.Create() method.

https://www.revitapidocs.com/2022/046cbcbc-bf76-4a77-672b-0da66b906963.htm


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 6 of 6
mikukzaz55
in reply to: naveen.kumar.t

Hi..

Thanks a lot ! I solved it

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

Post to forums  

Autodesk Design & Make Report