To allow hiding and
un-hiding of elements via the API, the methods View.Hide(ElementSet) and
View.Unhide(ElementSet) have been added. The properties
Element.IsHidden(View) and Element.CanBeHidden(View) return a boolean value
that indicates if an element is currently hidden and if it can be hidden. |
|
Internal categories
that are not directly exposed through the Revit UI can be accessed via the
API. This makes it possible to add shared parameters to Materials using Revit
API. |
|
The new property
Autodesk.Revit.Parameters.InternalDefinition.BuiltInParameter provides access
to the enumerated type for the parameter, if it is a built-in parameter. The property makes it easier to set a
parameter value based on the name of the parameter shown in the Revit UI. |
|
Autodesk.Revit.Elements.CurtainGridLine
has a new property ExistingSegmentCurves which allows access to the existing
segments in the grid line (excluding those which have been removed). |
|
Autodesk.Revit.Elements.Mullion
now provides access to its location via the LocationCurve property. |
|
In the
Autodesk.Revit.Elements.HostedSweep class the new abstract method
AddSegment() allows applications to write generic code that operates upon all
hosted sweep types (gutter, fascia, or slab edge). |
|
The new
Autodesk.Revit.Application.Language property identifies the language used in
the current session of Revit. |
|
The new
Autodesk.Revit.Application.Product property identifies the Revit vertical
application (Building, Structure, MEP) via an enumerated type. |
|
Revit's macro
functionality is now based on VSTA 2.0. More information about VSTA and
version 2.0 are available on Microsoft's MSDN Developer Center at http://msdn.microsoft.com/en-us/vsx2008/products/bb933739.aspx |
|
The last one –
“Improved External Application Diagnostics” – if you are Revit programmer,
I’m sure you have experienced once or twice that there is nothing happens
when you choose external tools. You
might have spent the name of your DLL wrong.
With this enhancement, when something is wrong with an external
program, this will show the reason more in detail; For example, when Revit
cannot find the DLL or function name. etc. |