Expand Getting StartedGetting Started
Expand SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand eDrawings API HelpeDrawings API Help
Collapse DraftSight API HelpDraftSight API Help
Getting Started
Release Notes
Access Diagram
Collapse Interop.dsAutomation NamespaceInterop.dsAutomation Namespace
Collapse InterfacesInterfaces
Expand IAlignedDimensionIAlignedDimension
Expand IAngularDimensionIAngularDimension
Expand IApplicationIApplication
Expand IApplicationOptionsIApplicationOptions
Expand IArcAlignedTextIArcAlignedText
Expand IArcLengthDimensionIArcLengthDimension
Collapse IAttributeDefinitionIAttributeDefinition
Expand IAttributeInstanceIAttributeInstance
Expand IBlockDefinitionIBlockDefinition
Expand IBlockInstanceIBlockInstance
Expand ICircleICircle
Expand ICircleArcICircleArc
Expand IColorIColor
Expand IColorPickerIColorPicker
Expand ICommandICommand
Expand ICommandMessageICommandMessage
Expand IContextMenuItemIContextMenuItem
Expand ICurvedSettingsICurvedSettings
Expand ICustomCoordinateSystemICustomCoordinateSystem
Expand ICustomCoordinateSystemManagerICustomCoordinateSystemManager
Expand ICustomDataICustomData
Expand ICustomPropertyControlICustomPropertyControl
Expand IDiameterDimensionIDiameterDimension
Expand IDictionaryIDictionary
Expand IDimensionStyleIDimensionStyle
Expand IDimensionStyleAngularDimensionOptionsIDimensionStyleAngularDimensionOptions
Expand IDimensionStyleArrowsOptionsIDimensionStyleArrowsOptions
Expand IDimensionStyleDualDimensionOptionsIDimensionStyleDualDimensionOptions
Expand IDimensionStyleFitOptionsIDimensionStyleFitOptions
Expand IDimensionStyleLinearDimensionOptionsIDimensionStyleLinearDimensionOptions
Expand IDimensionStyleLineOptionsIDimensionStyleLineOptions
Expand IDimensionStyleManagerIDimensionStyleManager
Expand IDimensionStyleRadialDiameterDimensionOptionsIDimensionStyleRadialDiameterDimensionOptions
Expand IDimensionStyleTextOptionsIDimensionStyleTextOptions
Expand IDimensionStyleToleranceOptionsIDimensionStyleToleranceOptions
Expand IDimensionStyleUserDataIDimensionStyleUserData
Expand IDocumentIDocument
Expand IDocumentExporterIDocumentExporter
Expand IDrawingPropertiesIDrawingProperties
Expand IDrawingSupportFilesIDrawingSupportFiles
Expand IDSWindowIDSWindow
Expand IEllipseArcIEllipseArc
Expand IEmbeddedObjectIEmbeddedObject
Expand IEntityHelperIEntityHelper
Expand IExportSettingsIExportSettings
Expand IExternalReferenceIExternalReference
Expand IFaceIFace
Expand IGeneralDimensionIGeneralDimension
Expand IGradientBackgroundIGradientBackground
Expand IGroupIGroup
Expand IHatchIHatch
Expand IHatchBoundaryLoopIHatchBoundaryLoop
Expand IHatchPatternIHatchPattern
Expand IHighlightSetIHighlightSet
Expand IHyperLinkIHyperLink
Expand IImageBackgroundIImageBackground
Expand IInfiniteLineIInfiniteLine
Expand IInterfaceFilesIInterfaceFiles
Expand IJoggedDimensionIJoggedDimension
Expand ILayerILayer
Expand ILayerManagerILayerManager
Expand ILayerPropertiesILayerProperties
Expand ILayerStateILayerState
Expand ILayerStateManagerILayerStateManager
Expand ILeaderILeader
Expand ILineILine
Expand ILineStyleILineStyle
Expand ILineStyleManagerILineStyleManager
Expand ILispFunctionILispFunction
Expand ILispParameterILispParameter
Expand IMacroManagerIMacroManager
Expand IMathCircArcIMathCircArc
Expand IMathEllipArcIMathEllipArc
Expand IMathLineIMathLine
Expand IMathPlaneIMathPlane
Expand IMathPointIMathPoint
Expand IMathTransformIMathTransform
Expand IMathUtilityIMathUtility
Expand IMathVectorIMathVector
Expand IMenuItemIMenuItem
Expand IModelIModel
Expand IModelNamedViewIModelNamedView
Expand INamedViewINamedView
Expand INoteINote
Expand IOrdinateDimensionIOrdinateDimension
Expand IPointIPoint
Expand IPolyFaceMeshIPolyFaceMesh
Expand IPolygonMeshIPolygonMesh
Expand IPolyLineIPolyLine
Expand IPolyLine3DIPolyLine3D
Expand IPrintManagerIPrintManager
Expand IPrintSpecificationIPrintSpecification
Expand IRadialDimensionIRadialDimension
Expand IRayIRay
Expand IReferenceImageIReferenceImage
Expand IRegionIRegion
Expand IRibbonCommandButtonIRibbonCommandButton
Expand IRibbonPanelIRibbonPanel
Expand IRibbonQuickAccessBarIRibbonQuickAccessBar
Expand IRibbonQuickAccessBarItemIRibbonQuickAccessBarItem
Expand IRibbonRowIRibbonRow
Expand IRibbonRowItemIRibbonRowItem
Expand IRibbonRowPanelIRibbonRowPanel
Expand IRibbonSeparatorIRibbonSeparator
Expand IRibbonSplitButtonIRibbonSplitButton
Expand IRibbonSystemMenuIRibbonSystemMenu
Expand IRibbonSystemMenuItemIRibbonSystemMenuItem
Expand IRibbonTabIRibbonTab
Expand IRichLineIRichLine
Expand IRichLineStyleIRichLineStyle
Expand IRichLineStyleManagerIRichLineStyleManager
Expand IRotatedDimensionIRotatedDimension
Expand ISelectionFilterISelectionFilter
Expand ISelectionManagerISelectionManager
Expand IShapeIShape
Expand IShapeManagerIShapeManager
Expand ISheetISheet
Expand ISheetNamedViewISheetNamedView
Expand ISimpleNoteISimpleNote
Expand ISketchManagerISketchManager
Expand ISolidISolid
Expand ISolidBackgroundISolidBackground
Expand ISplineISpline
Expand ISystemFilesISystemFiles
Expand ITableITable
Expand ITableStyleITableStyle
Expand ITableStyleManagerITableStyleManager
Expand ITextStyleITextStyle
Expand ITextStyleManagerITextStyleManager
Expand IToleranceITolerance
Expand IToolbarIToolbar
Expand IToolbarItemIToolbarItem
Expand ITraceITrace
Expand ITrackerITracker
Expand ITransparencyITransparency
Expand IUnknownEntityIUnknownEntity
Expand IUserCommandIUserCommand
Expand IViewManagerIViewManager
Expand IViewportIViewport
Expand IViewTileIViewTile
Expand IWorkspaceIWorkspace
Expand IXRecordIXRecord
Expand Lisp Programming BasicsLisp Programming Basics
Expand Lisp Functions OverviewLisp Functions Overview
Expand Lisp Functions ReferenceLisp Functions Reference
Hide Table of Contents
IAttributeDefinition Interface Members

The following tables list the members exposed by IAttributeDefinition.

Public Properties

 PropertyAngleGets or sets the angle of the text for the BlockAttribute definition.  
 PropertyBackwardsGets or sets whether the BlockAttribute definition is displayed backwards.  
 PropertyCaptionGets or sets the text to display in the command window during a Block insertion.  
 PropertyColorGets or sets the LineColor of this BlockAttribute definition.  
 PropertyConstantGets or sets whether the BlockAttribute definition is a constant value or a variable value.  
 PropertyErasedGets or sets whether to erase or restore the BlockAttribute definition.  
 PropertyHandleGets the value of the handle for the BlockAttribute definition.  
 PropertyHeightGets or sets the text height for the BlockAttribute definition.  
 PropertyHiddenGets or sets the visibility of the BlockAttribute value in Block references.  
 PropertyJustificationGets or sets the position and alignment of the BlockAttribute definition's text in relation to the insertion point.  
 PropertyLayerGets or sets the name of the Layer of the BlockAttribute definition.  
 PropertyLineScaleGets or sets the scale factor for the BlockAttribute definition's LineStyle.  
 PropertyLineStyleGets or sets the name of the LineStyle for the BlockAttribute definition.  
 PropertyLineWeightGets or sets the LineWeight for the BlockAttribute definition.  
 PropertyLockPositionGets or sets whether the BlockAttribute within the Block reference is locked.  
 PropertyMultilinesGets whether this BlockAttribute definition is multiline.  
 PropertyNameGets or sets the BlockAttribute name.  
 PropertyPresetGets or sets whether you can create BlockAttributes that accept their default values.  
 PropertyPrintStyleGets or sets the name of the PrintStyle for this BlockAttribute definition.  
 PropertyRotationGets or sets the insertion angle of the BlockAttribute definition.  
 PropertySpacingGets or sets the aspect ratio (i.e., the width of the characters in relation to the height) for the BlockAttribute definition.  
 PropertyTextGets or sets the Note associated with this multiline BlockAttribute definition.  
 PropertyTextStyleGets or sets the name of the TextStyle for the BlockAttribute definition.  
 PropertyThicknessGets or sets the thickness of this BlockAttribute definition.  
 PropertyTransparencyGets or sets the transparency object for this BlockAttribute definition.  
 PropertyUpsideDownGets or sets whether to display the BlockAttribute definition upside down.  
 PropertyValueGets or sets the BlockAttribute value.  
 PropertyVerifyGets or sets whether to prompt for verification that the BlockAtribute value is correct when inserting a Block.  
 PropertyVisibleGets or sets whether to show the BlockAttribute definition.  

Public Methods

 MethodCreateExtensionDictionaryCreates a dictionary for the BlockAttribute definition.  
 MethodDeleteCustomDataDeletes the specified custom data from the BlockAttribute definition.  
 MethodDeleteHyperLinkDeletes the hyperlink attached to the BlockAttribute definition.  
 MethodGetAlignmentPointGets the alignment point of the BlockAttribute definition.  
 MethodGetBoundingBoxGets the bounding box enclosing the BlockAttribute definition.  
 MethodGetCustomDataGets the specified custom data for the BlockAttribute definition.  
 MethodGetExtensionDictionaryGets the dictionary for the BlockAttribute definition.  
 MethodGetHyperLinkGets the hyperlink attached to the BlockAttribute definition.  
 MethodGetNormalGets the vector normal to this BlockAttribute definition.  
 MethodGetPositionGets the insertion point of the BlockAttribute definition.  
 MethodReleaseExtensionDictionaryReleases and erases the dictionary for the BlockAttribute definition, if the dictionary exists and is empty.  
 MethodSelectAdds or removes the selected BlockAttribute definition to or from the current selection set.  
 MethodSetAlignmentPointSets the alignment point for the BlockAttribute definition.  
 MethodSetCustomDataSets the custom data for the BlockAttribute definition.  
 MethodSetHyperLinkAttaches a hyperlink to the BlockAttribute definition.  
 MethodSetNormalSets the vector normal to this BlockAttribute definition.  
 MethodSetPositionSets the insertion point for the BlockAttribute definition.  

See Also

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   IAttributeDefinition Interface Members
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2019 SP04

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.