Share

ComponentDefinition.DataIO Property

Parent Object: ComponentDefinition

Description

Gets the object that directly deals with I/O to and from a storage-medium, including Streams(IStream).

Syntax

ComponentDefinition.DataIO() As DataIO

Property Value

This is a read only property whose value is a DataIO.

Samples

Name Description
Translate - Sheet Metal to DXF The sample code below writes a sheet metal file out as DXF. DWG is also supported. Use either the FLAT PATTERN DWG or FLAT PATTERN DXF formats.There are several optional arguments that can be specified as part of the format string. E.g. 'FLAT PATTERN DXF?TangentLayer=Tangents&SimplifySplines=True'). Below are the names of these arguments and relevant default values. The output will use these values unless you override them as part of the input string.
ArgumentTypeDefault ValueNote
TangentLayerStringIV_TANGENT
OuterProfileLayerStringIV_OUTER_PROFILE
ArcCentersLayerStringIV_ARC_CENTERS
InteriorProfilesLayerStringIV_INTERIOR_PROFILES
BendLayerStringIV_BENDBendUpLayer + BendDownLayer (legacy support)
BendUpLayerStringIV_BEND
BendDownLayerStringIV_BEND_DOWN
ToolCenterLayerStringIV_TOOL_CENTERToolCenterUpLayer + ToolCenterDownLayer (legacy support)
ToolCenterUpLayerStringIV_TOOL_CENTER
ToolCenterDownLayerStringIV_TOOL_CENTER_DOWN
FeatureProfilesLayerStringIV_FEATURE_PROFILESFeatureProfilesUpLayer + FeatureProfilesDownLayer (legacy support)
FeatureProfilesUpLayerStringIV_FEATURE_PROFILES
FeatureProfilesDownLayerStringIV_FEATURE_PROFILES_DOWN
AltRepFrontLayerStringIV_ALTREP_FRONT
AltRepBackLayerStringIV_ALTREP_BACK
UnconsumedSketchesLayerStringIV_UNCONSUMED_SKETCHES
UnconsumedSketchConstructionLayerStringIV_UNCONSUMED_SKETCH_CONSTRUCTION
TangentRollLinesLayerStringIV_ROLL_TANGENT
RollLinesLayerStringIV_ROLL
***ColorString*** indicates name of layer from the argument column. RGB values separated by ;. Example: TangentLayerColor=255;0;0
***LineTypeLong*** indicates name of layer from the argument column. Long value from LineTypeEnum. Example: TangentLayerLineType=37644
***LineWeightDouble*** indicates name of layer from the argument column. Value in centimeters. Example: TangentLayerLineWeight=.1016
CustomizeFilenameString
AcadVersionString2018, 2013, 2010, 2007, 2004, 2000, or R12 (for DXF only)
SimplifySplinesBooleanTrueEnable spline replacement(by linear segments or arcs).
SplineToleranceDouble0.01Chord tolerance for spline replacement
AdvancedLegacyExportBooleanTrue
MergeProfilesIntoPolylineBooleanFalseBuild a polyline of the exterior profiles
RebaseGeometryBooleanFalseMove geometry to 1st quadrant
InvisibleLayersStringList of layer names to make invisible, separated by ;
TrimCenterlinesAtContourBooleanFalseTrim the centerlines at contour.
SimplifyAsTangentArcsBooleanFalseTrue: Replace splines by tangent arcs. False: Replace splines by line segments. The SimplifySplines should be specified to True otherwise this option is ignored.

Version

Introduced in version 4

Was this information helpful?