Revit API

Reply
Distinguished Contributor
chuck.han
Posts: 122
Registered: ‎09-27-2004
Message 1 of 2 (154 Views)

Levels and Elevations questions

154 Views, 1 Replies
05-24-2012 05:07 PM

1. If I create a Level using ...Create.NewLevel(elevation), it creates a Level with some default X-Y extents.  Is there a way to programmatically change the extents?

 

2. I can get an Elevation marker (Category = "Elevations"), but I can't seem to get its coordinates.  For example, its Location as LocationPoint (or LocationCurve for that matter) is null.  I can move it, but I want to find its original position first.

 

Thanks in advance, Chuck

Distinguished Contributor
chuck.han
Posts: 122
Registered: ‎09-27-2004
Message 2 of 2 (141 Views)

Re: Levels and Elevations questions

05-25-2012 12:08 PM in reply to: chuck.han

Actually, even if I programmatically move the Elevation marker, the corresponding view plane does not move. (Even though the View arrow moves along with the square Elevation marker, the view plane does not).  Is there a programmatic way to move the viewing plane?  You pick the View arrow to move the view plane manually, but the Location property of this Element is null.  Any thoughts?

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.