Class Fabricator
Setup options for the job that relate directly to fabrication
Inherited Members
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public class Fabricator
Properties
ArePrimaryDimensionUnitsLocked
Specifies if the primary dimension format is locked to the units implied by the PrimaryDimensionFormat.
Declaration
public bool ArePrimaryDimensionUnitsLocked { get; }
Property Value
Type | Description |
---|---|
bool |
CategoryDefinitions
Get list of available category definitions for members.
Declaration
public CategoryDefinitionList CategoryDefinitions { get; }
Property Value
Type | Description |
---|---|
CategoryDefinitionList |
CustomContinuousTread
Get a Custom Continuous Plate Tread based on the Continuous Plate Tread located in Fabricator Setup.
Declaration
public CustomContinuousTread CustomContinuousTread { get; }
Property Value
Type | Description |
---|---|
CustomContinuousTread |
CustomGratingTread
Get a Custom Grating Tread based on the Grating Tread located in Fabricator Setup.
Declaration
public CustomGratingTread CustomGratingTread { get; }
Property Value
Type | Description |
---|---|
CustomGratingTread |
CustomPanTread
Get a Custom Pan Tread based on the Pan Tread located in Fabricator Setup.
Declaration
public CustomPanTread CustomPanTread { get; }
Property Value
Type | Description |
---|---|
CustomPanTread |
CustomPlateTread
Get a Custom Independent Plate Tread based on the Independent Plate Tread located in Fabricator Setup.
Declaration
public CustomPlateTread CustomPlateTread { get; }
Property Value
Type | Description |
---|---|
CustomPlateTread |
EvuDefaults
Returns a ErectionViewDefaults object that can be used to read/write the Fabricator defaults settings for erection view drawings.
Declaration
public ErectionViewDefaults EvuDefaults { get; }
Property Value
Type | Description |
---|---|
ErectionViewDefaults |
GroupMemberDimensioningDefaults
Returns a MemberAnnotationDimensioningDefaults object that can be used to read/write Fabricator annotation and dimensioning defaults for group members.
Declaration
public GroupMemberAnnotationDimensioningDefaults GroupMemberDimensioningDefaults { get; }
Property Value
Type | Description |
---|---|
GroupMemberAnnotationDimensioningDefaults |
Handle
The handle for this fabricator
Declaration
public FabricatorHandle Handle { get; }
Property Value
Type | Description |
---|---|
FabricatorHandle |
ImperialDimensionPrecision
Specifies the inch dimension precision during formatting. For example if precision is set to 1.0/16.0 in an imperial job with PrimaryDimensionFormat.FT_IN_FRAC a distance of (1.0/16.0 + .0001) will format to "1/16"
Declaration
public double ImperialDimensionPrecision { get; }
Property Value
Type | Description |
---|---|
double |
MaterialDescriptions
Default material descriptions, based on member type, from fabricator setup
Declaration
public MaterialDescriptions MaterialDescriptions { get; }
Property Value
Type | Description |
---|---|
MaterialDescriptions |
MemberDimensioningDefaults
Returns a MemberAnnotationDimensioningDefaults object that can be used to read/write Fabricator annotation and dimensioning defaults for members.
Declaration
public MemberAnnotationDimensioningDefaults MemberDimensioningDefaults { get; }
Property Value
Type | Description |
---|---|
MemberAnnotationDimensioningDefaults |
MetricDimensionPrecision
Specifies the millimeter dimension precision during formatting. For example if precision is set to 1.0/25.4 in a metric job with PrimaryDimensionFormat.MM a distance of 1.1mm will format to "1".
Declaration
public double MetricDimensionPrecision { get; }
Property Value
Type | Description |
---|---|
double |
PrimaryDimensionFormat
The primary dimension format. The resulting DimensionFormat is restricted to the subset of values that are displayed in Fabricator Setup->Drawing Cosmetics->Primary Dimensions, i.e. MM, FT_IN_FRAC, IN_SIX, IN_FRAC, or IN_DECIMAL
Declaration
public DimensionFormat PrimaryDimensionFormat { get; }
Property Value
Type | Description |
---|---|
DimensionFormat |
RoutingDefinitions
Get the table of routing definitions. The first index is the Route1 list, the second Route2, and so on.
Declaration
public RoutingDefinitionTableList RoutingDefinitions { get; }
Property Value
Type | Description |
---|---|
RoutingDefinitionTableList |
StairTreads
Get the list of Stair Treads from Fabricator Setup.
Declaration
public StairTreadList StairTreads { get; }
Property Value
Type | Description |
---|---|
StairTreadList |
SubmaterialDimensioningDefaults
Returns a MemberAnnotationDimensioningDefaults object that can be used to read/write Fabricator annotation and dimensioning defaults for submaterials.
Declaration
public SubmaterialAnnotationDimensioningDefaults SubmaterialDimensioningDefaults { get; }
Property Value
Type | Description |
---|---|
SubmaterialAnnotationDimensioningDefaults |
Methods
Add(CategoryDefinition)
Append a CategoryDefinition to the end of the list of definitions.
Declaration
public void Add(CategoryDefinition categoryDefinition)
Parameters
Type | Name | Description |
---|---|---|
CategoryDefinition | categoryDefinition |
Exceptions
Type | Condition |
---|---|
InvalidValueException | Thrown if null is passed into this method |
InvalidOperationException | Thrown if this is called outside of a transaction, or if the Fabricator has not been added to the transaction or locked, or if there are already too many CategoryDefinitions in this Fabricator. |
Add(RoutingDefinition)
Append a routing definition so that it can be used on members and materials. If the routing definition already exists this will return false. If it does not it will add it and return true.
Declaration
public bool Add(RoutingDefinition routingDefinition)
Parameters
Type | Name | Description |
---|---|---|
RoutingDefinition | routingDefinition |
Returns
Type | Description |
---|---|
bool |
Dispose(bool)
Setup options for the job that relate directly to fabrication
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
~Fabricator()
Setup options for the job that relate directly to fabrication
Declaration
protected ~Fabricator()
Get()
Get the fabricator object for the currently opened/active job.
Declaration
public static Fabricator Get()
Returns
Type | Description |
---|---|
Fabricator |
ToDimension(double, DimensionFormat)
Returns a dimension string with the specified format subject to the setup values for ImperialDimensionPrecision, MetricDimensionPrecision, and ArePrimaryDimensionUnitsLocked.
Declaration
public string ToDimension(double inches, DimensionFormat format = DimensionFormat.DIM)
Parameters
Type | Name | Description |
---|---|---|
double | inches | |
DimensionFormat | format |
Returns
Type | Description |
---|---|
string |
ToInches(string, DimensionFormat)
Returns the inches specified by the dimension string. The format determines the units when they are not explicitly noted in the dimension.
Declaration
public double ToInches(string dimension, DimensionFormat format = DimensionFormat.DIM)
Parameters
Type | Name | Description |
---|---|---|
string | dimension | |
DimensionFormat | format |
Returns
Type | Description |
---|---|
double |
Exceptions
Type | Condition |
---|---|
InvalidValueException | Thrown when the entire dimension string can't be parsed |