Application.NewGeometryOptions
Method
Description:
Creates an object to specify user preferences in parsing of geometry.
Creates an object to specify user preferences in parsing of geometry.
Examples
Autodesk.Revit.DB.Options geomOption = application.Create.NewGeometryOptions();
if (null != geomOption)
{
geomOption.ComputeReferences = true;
geomOption.DetailLevel = Autodesk.Revit.DB.ViewDetailLevel.Fine;
// Either the DetailLevel or the View can be set, but not both
//geomOption.View = commandData.Application.Application.ActiveDocument.ActiveView;
TaskDialog.Show("Revit", "Geometry Option created successfully.");
}