Revit API

Reply
Active Contributor
Posts: 42
Registered: ‎08-19-2009
Message 1 of 1 (357 Views)

How to copy a material with full details from project to new family?

357 Views, 0 Replies
04-05-2012 12:08 AM

Hello all,

 

I am creating an addin (using vb.net) for Revit and am facing a problem copying a material from the open project to a newly created family.

 

My app creates a new family (when a project is already opened in Revit),creates new sub-category’s and import’s some DWG data. Afterwards it load’s the family into the open project.

 

I would like to copy a specific material definition from the project to the newly created family (with surface- and cutpattern’s) and apply it to a newly created sub-category.

 

Could you help me out on how to do this? Simply finding the material in the project and setting it to a newly created one in the family does not work correctly.

 

Kind regards,

 

Wouter Bleumink

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