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

Writing a script to assign custom assembly to specific roads being imported from IMX

1 REPLY 1
Reply
Message 1 of 2
sachin.m20
231 Views, 1 Reply

Writing a script to assign custom assembly to specific roads being imported from IMX

Hi,

The roads are being imported from an IMX file as shown.

Every time a change is made to the geometry, I re-import the IMX file into IW and again assign custom assembly to each road.

 

Is there a way to do this using running a script that assigns specific assembly to corresponding road type and import with better efficiency?

Tags (1)
1 REPLY 1
Message 2 of 2

@sachin.m20, Once you have script to get the table and records, you should be able to assign styles like this.

 

write.RULE_STYLE = "Street/Street w_Sidewalk";
write.MATERIAL_GROUP = "MaterialGroup/Boulevard";

Regards,

Ramesh S
Product Manager - Infrastructure Solutions

Ramesh.Sridharan@autodesk.com



Ramesh Sridharan
Product Manager

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report