Revit API

Reply
Distinguished Contributor
RocksterB
Posts: 130
Registered: ‎02-26-2007
Message 11 of 15 (234 Views)

Re: Create Line Pattern Type?

11-18-2012 08:39 AM in reply to: mfleming.stantec

Joe, how do I load the line pattern code you've provided into Revit?

Member
cmckeown
Posts: 4
Registered: ‎01-31-2012
Message 12 of 15 (186 Views)

Re: Create Line Pattern Type?

04-14-2013 08:40 PM in reply to: mfleming.stantec

Hi,

 

Am i correct in saying you can not set line pattern to a category?

 

Regards


Chris

ADN Support Specialist
jeremytammik
Posts: 474
Registered: ‎08-20-2007
Message 13 of 15 (180 Views)

Re: Create Line Pattern Type?

04-15-2013 08:11 AM in reply to: cmckeown

Dear Chris,

 

If you can do it through the user interface, it is probably possible programmatically as well, and vice versa. Is it possible in the UI?

 

Best regards,

 

Jeremy



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

Contributor
chris.j.mckeown
Posts: 15
Registered: ‎12-25-2009
Message 14 of 15 (174 Views)

Re: Create Line Pattern Type?

04-15-2013 04:36 PM in reply to: RocksterB

Hi Jeremy,

 

I found the below post on the Autodesk site just after I posted this question...

http://forums.autodesk.com/t5/Autodesk-Revit-API/Line-Patterns/m-p/3110368/highlight/true#M2163

 

Yes it is possible via the UI but according to Saikat it is not possible via API yet.

 

I haven't checked 2014 yet. I notice in 2011 they had the method to set it but must have caused an error, so they (the factory) removed it in 2012/3 never to be seen again?

 

Regards

 

Chris

Distinguished Contributor
Dale.Bartlett
Posts: 142
Registered: ‎01-06-2003
Message 15 of 15 (52 Views)

Re: Create Line Pattern Type?

06-12-2014 12:20 AM in reply to: Joe.Ye

Hi Joe, Do you have similar code to delete line patterns? Dale

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.