Revit API

Reply
Distinguished Contributor
RocksterB
Posts: 160
Registered: ‎02-26-2007
Message 11 of 15 (263 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?

Active Member
cmckeown
Posts: 8
Registered: ‎01-31-2012
Message 12 of 15 (215 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: 657
Registered: ‎08-20-2007
Message 13 of 15 (209 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: 16
Registered: ‎12-25-2009
Message 14 of 15 (203 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: 171
Registered: ‎01-06-2003
Message 15 of 15 (82 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.