Share

RevitExportDefinition Object


Description

RevitExportDefinition Object.

Methods

Name Description
Copy Method that creates a copy of this RevitExportDefinition object. The new RevitExportDefinition is independent of any RevitExport. It can be edited and used as input to edit an existing RevitExport or to create a new RevitExport.

Properties

Name Description
ActiveDesignViewRepresentation Read-write property that gets and sets the name of the active Design View Representation for the RevitExport. The IsAssociativeDesignView property indicates if an associate link to the design view is created or not.
ActiveModelState Read-write property that gets and sets the name of the active model state for the RevitExport.
ActivePositionalRepresentation Read-write property that gets and sets the name of the active Positional Representation for the RevitExport.
AdditionalExcludedOccurrences Read-write property that gets and sets the occurrences being excluded for the RevitExport.
AdditionalIncludedOccurrences Read-write property that gets and sets the occurrences being included for the RevitExport.
Application Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server.
EnableUpdating Read-write property that controls whether or not a RevitExport object is created. If set to True, then an updateable RevitExport object is created. If set to False, then no RevitExport object is created, and no subsequent updates can be done.
EnvelopesReplaceStyle Read-write property that gets and sets envelopes replace style. When a new definition is created, this defaults to kNoneReplaceStyle.
FileName Read-write property that gets and sets the filename of the RevitExport. This cannot be modified after the Revit model has been created.
IsAssociativeDesignView Read-write property that gets and sets if there is an associative link to the specified design view. When creating a new RevitExport, setting this property to True will create a derivation that is associative to the design view.
Location Read-write property that gets and sets the location of the RevitExport. This cannot be modified after the Revit model has been created.
Parent Gets the parent object from whom this object can logically be reached.
PreservedFeatures Read-write property that gets and sets the features to preserve from remove. For each preserved feature a Face from the feature is required to indicate it.
RemoveAllInternalVoids Read-write property that gets and sets whether remove all the internal voids or not. Set this to True will fill all the internal void shells in the RevitExport solid.
RemoveChamfersDistanceRange Read-write property that gets and sets the distance of chamfers in centimeters to remove for the RevitExport. This is only applicable when the RemoveChamfersStyle is set to kRevitExportRemoveByRange.
RemoveChamfersStyle Read-write property that gets and sets the style to remove chamfers for the RevitExport.
RemoveEmbossMaxHeightRange Read-write property that gets and sets the max height of embosses in centimeters to remove for the RevitExport. This is only applicable when the RemoveEmbossesStyle is set to kRevitExportRemoveByRange.
RemoveFilletsRadiusRange Read-write property that gets and sets the radius of fillets in centimeters to remove for the RevitExport. This is only applicable when the RemoveFilletsStyle is set to kRevitExportRemoveByRange.
RemoveFilletsStyle Read-write property that gets and sets the style to remove fillets for the RevitExport.
RemoveHolesDiameterRange Read-write property that gets and sets the diameter of holes in centimeters to remove for the RevitExport. This is only applicable when the RemoveHolesStyle is set to kRevitExportRemoveByRange.
RemoveHolesStyle Read-write property that gets and sets the style to remove holes for the RevitExport.
RemoveInternalParts Read-write property that gets and sets whether to remove internal parts or not.
RemovePartsBySize Read-write property that gets and sets whether remove parts by size or not.
RemovePartsSize Read-write property that gets and sets the bounding box diagonal length in centimeters of the parts being removed.
RemovePocketsMaxDepthRange Read-write property that gets and sets the max depth of pockets in centimeters to remove for the RevitExport. This is only applicable when the RemovePocketsStyle is set to kRevitExportRemoveByRange.
RemovePocketsStyle Read-write property that gets and sets the style to remove pockets for the RevitExport.
RemoveTunnelsStyle Read-write property that gets and sets the style to remove tunnels for the RevitExport. Valid values for this property are kSimplificationRemoveNone and kSimplificationRemoveAll.
RevitVersion Read-write property that gets and sets the Revit version. Use the FileManager.GetRevitEngineInstallationStatus to get the Revit versions that can be used to create RevitExport objects.
Structure Read-write property that gets and sets the structure.
Type Gets the constant that indicates the type of this object.
UseColorOverrideFromSourceComponent Read-write property that gets and sets whether use the color override from source component.

Accessed From

RevitExport.Definition, RevitExportDefinition.Copy, RevitExports.CreateDefinition

Samples

Name Description
Create Revit Export sample This sample demonstrates how to create a RevitExport object.

Version

Introduced in version 2022

Was this information helpful?