API Reference > Functions
Functions

The following table lists functions in this documentation.

 
Name 
Description 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
details 
 
 
 
 
 
Retrieves snap PDF geometry for the referenced PDF entity.  
 
 
 
 
 
 
 
 
 
 
 
returns true if there was such reactor (puts it at the end of the list in any case) 
 
for tests only 
 
 
 
 
 
 
 
 
 
 
 
Compare resbufs walking ::next chain. 
 
Compare resbufs walking ::next chain. 
 
 
 
 
 
 
 
 
 
This method performs the whole point cloud entity creation routine: creates the OdDbPointCloud entity, appends it to the database, applies specified attributes, creates the OdDbPointCloudDef object (if needed), restores or creates new links to the OdDbPointCloudDef object, adds reactors.
 
 
This method performs the whole point cloud entity creation routine: creates the OdDbPointCloudEx entity, appends it to the database, applies specified attributes, creates the OdDbPointCloudDefEx object (if needed), restores or creates new links to the OdDbPointCloudDefEx object, adds reactors.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Returns the data for the specified object.
 
 
 
 
 
 
 
 
Sets the data for the specified object.
 
 
 
 
Evaluates fields in database.  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Returns the pointer to the field engine. There is only one field engine object per session.  
 
Gets the value format by error of the field engine and applies it to the value of the previous evaluation.  
 
GLOBAL API FUNCTIONS
  • details Global method which is used for getting the OdDbGeoData object ID.

 
 
 
 
 
 
 
 
Returns an Iterator object that can be used to traverse the OdAveLight objects in the specified database.
 
 
 
 
Returns an Iterator object that can be used to traverse the OdAveMaterial objects in the specified database or material library.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Creates a mesh from the specified object based on the specified mesh faceter settings.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Returns an Iterator object that can be used to traverse the OdAveScene objects in the specified database.
 
 
 
 
Loads an MLineStyle into the specified database object.
 
 
for tests only 
 
for tests only 
 
for tests only 
 
for tests only 
 
for tests only 
 
 
 
returns true if there was such reactor 
 
Saves linetypes to the specified file.  
 
Saves an MLineStyle to the specified file.  
 
Sets the DWGCODEPAGE value in the specified OdDbDatabase instance.
 
 
value to keep result of previous evaluation 
 
Sets the PSTYLEMODE value in the specified OdDbDatabase instance.
 
 
Sets the PUCSORG value in the specified OdDbDatabase instance.
 
 
Sets the PUCSXDIR value in the specified OdDbDatabase instance.
 
 
Sets the PUCSYDIR value in the specified OdDbDatabase instance.
 
 
Sets the TDINDWG value in the specified OdDbDatabase instance.
 
 
Sets the TDUCREATE system variable in the specified OdDbDatabase instance.
 
 
Sets the TDUSRTIMER value in the specified OdDbDatabase instance.
 
 
Sets the TDUUPDATE value in the specified OdDbDatabase instance.
 
 
Sets the UCSORG system variable in the specified OdDbDatabase instance.
 
 
Sets the UCSXDIR value in the specified OdDbDatabase instance.
 
 
Sets the UCSYDIR value in the specified OdDbDatabase instance.
 
 
 
 
Returns the Document Summary Information object for the specified OdDgDatabase instance.
 
 
Retutns the Document Summary Information object for the specified dgn file.
 
 
Returns the properties of the library. 
 
 
 
Returns the Summary Information object for the specified OdDgDatabase instance.
 
 
Retutns the Summary Information object for the specified dgn file.
 
 
Auxiliary function to display different messages 
 
 
 
 
 
Sets (registers) the Linkage handler class.
 
 
Sets (registers) the XAttribute handler class.
 
 
 
 
 
 
 
 
 
 
Parses a string containing a field with AcVar, separating the variable name and formatting.
 
 
Splits a string into substrings: fields and the text separating them. The order remains the same.
 
 
Returns the SAT file associated with the specified AcAdPart entity.  
 
Returns the OdModelerGeometry object associated with the specified AcAdPart entity.  
 
Performs Drawings system initialization. 
 
Performs Drawings core system initialization. 
 
Returns a LayerFilterManager object for the specified database.  
 
 
 
DBENT_EXPORT IUnknown* OdOxGetIUnknownOfObject(OdDbObject* pObj, LPDISPATCH pApp); 
 
Utility functions 
 
 
 
3 - Origin 
 
3 - Origin 
 
4 - RotationAngle 
 
3 - Origin 
 
3 - Origin 
 
11 - LineStyleModifiers 
 
11 - LineStyleModifiers 
 
1 - Vertices 
 
1 - Vertices 
 
5 - Normal 
 
1 - ItemTypeInstances 
 
1 - PrimaryAxis 
 
2 - SecondaryAxis 
 
1 - PrimaryAxis 
 
2 - SecondaryAxis 
 
3 - Color 
 
2 - Level 
 
4 - LineStyle 
 
5 - LineWeight 
 
1 - Name 
 
4 - Transformation 
 
3 - Color 
 
2 - Level 
 
4 - LineStyle 
 
5 - LineWeight 
 
1 - Name 
 
4 - Transformation 
 
14 - LineColor 
 
16 - LineStyleEntryId 
 
18 - LineWeight 
 
7 - Space1 
 
9 - Space2 
 
13 - UseLineColor 
 
15 - UseLineStyle 
 
17 - UseLineWeight 
 
10 - LineStyleScale 
 
10 - LineStyleScale 
 
7 - PatternName 
 
2 - Name 
 
7 - Locked 
 
6 - Class 
 
3 - Color 
 
10 - DisplayStyle 
 
11 - GraphicsGroupIndex 
 
17 - HBit 
 
12 - Invisible 
 
2 - Level 
 
4 - LineStyle 
 
5 - LineWeight 
 
16 - NotSnappable 
 
8 - Priority 
 
9 - Thickness 
 
7 - Transparency 
 
14 - ViewIndependent 
 
24 - HighMultilineIndex 
 
23 - LowMultilineIndex 
 
20 - Offset 
 
5 - Rotation 
 
21 - Snappable 
 
3 - Tolerance 
 
22 - UseMultilineIndices 
 
19 - UseOffset 
 
4 - UseRotation 
 
2 - UseTolerance 
 
2 - Name 
 
3 - EndPoint 
 
1 - StartPoint 
 
3 - EndPoint 
 
1 - StartPoint 
 
2 - Name 
 
14 - LineColor 
 
16 - LineStyleEntryId 
 
18 - LineWeight 
 
7 - Space 
 
13 - UseLineColor 
 
15 - UseLineStyle 
 
17 - UseLineWeight 
 
1 - Name 
 
1 - Name 
 
1 - Material 
 
1 - Material 
 
1 - Name 
 
14 - Color 
 
16 - LineStyleEntryId 
 
18 - LineWeight 
 
7 - Space1 
 
9 - Space2 
 
11 - SymbolId 
 
12 - TrueScale 
 
13 - UseColor 
 
15 - UseLineStyle 
 
17 - UseLineWeight 
 
4 - RotationAngle 
 
6 - StartAngle 
 
7 - SweepAngle 
 
6 - StartAngle 
 
7 - SweepAngle 
 
8 - Angle1 
 
10 - Angle2 
 
6 - 2dRotation 
 
8 - Angle 
 
8 - Angle1 
 
10 - Angle2 
 
9 - ColorPalette 
 
13 - SharedCellDefinitions 
 
1 - Items 
 
1 - Items 
 
1 - Items 
 
1 - Items 
 
1 - Items 
 
6 - Elements 
 
6 - Elements 
 
14 - Elements 
 
12 - Models 
 
3 - Elements 
 
3 - Elements 
 
8 - DwgLines 
 
5 - GroupedHole 
 
5 - GroupedHole 
 
8 - Closed 
 
4 - EndParam 
 
3 - EndPoint 
 
9 - Periodic 
 
2 - StartParam 
 
1 - StartPoint 
 
8 - Closed 
 
4 - EndParam 
 
3 - EndPoint 
 
9 - Periodic 
 
2 - StartParam 
 
1 - StartPoint 
 
10 - DisplayStyleTableId 
 
1 - FileName 
 
7 - FontTableId 
 
11 - LevelFilterTableId 
 
4 - LevelTableId 
 
5 - LineStyleTableId 
 
2 - MajorVersion 
 
8 - MaterialTableId 
 
3 - MinorVersion 
 
6 - TextStyleTableId 
 
1 - Index 
 
2 - ClassName 
 
1 - SchemaName 
 
1 - ElementId 
 
3 - ElementSubType 
 
2 - ElementType 
 
4 - ModificationTime 
 
6 - Modified 
 
1 - Name 
 
5 - New 
 
1 - ODAUniqueID 
 
13 - 3D 
 
18 - Extents 
 
15 - NonPlanar 
 
1 - PatternType 
 
1 - Index 
 
1 - Index 
 
15 - BlockDefinition 
 
1- - ReferencedModel 
 
2 - MaterialName ODRX_DECLARE_RX_PROPERTY(OdDgShape2d,MaterialName,OdString,"Material",2,"Name of shape material", "MaterialTableId/Items [Name]"); 12 - Fill 
 
13 - HatchPattern 
 
2 - MaterialName ODRX_DECLARE_RX_PROPERTY(OdDgShape3d,MaterialName,OdString,"Material",2,"Name of shape material", "MaterialTableId/Items [Name]"); 12 - Fill 
 
13 - HatchPattern 
 
 
 
OdRxValueType specialization for 'OdCellRange' value type. 
 
OdRxValueType specialization for 'OdCmColor' value type. 
 
OdRxValueType specialization for 'OdDb3dPolylineVertexPtr' value type. 
 
OdRxValueType specialization for 'OdDb::CollisionType' value type. 
 
OdRxValueType specialization for 'OdDb::DuplicateRecordCloning' value type. 
 
OdRxValueType specialization for 'OdDb::DwgVersion' value type. 
 
OdRxValueType specialization for 'OdDb::EndCaps' value type. 
 
OdRxValueType specialization for 'OdDb::FlowDirection' value type. 
 
OdRxValueType specialization for 'OdDb::JoinStyle' value type. 
 
OdRxValueType specialization for 'OdDb::LineSpacingStyle' value type. 
 
OdRxValueType specialization for 'OdDb::LoftNormalsType' value type. 
 
OdRxValueType specialization for 'OdDb::MaintReleaseVer' value type. 
 
OdRxValueType specialization for 'OdDb::MeasurementValue' value type. 
 
OdRxValueType specialization for 'OdDb::OrthographicView' value type. 
 
OdRxValueType specialization for 'OdDb::Poly2dType' value type. 
 
OdRxValueType specialization for 'OdDb::Poly3dType' value type. 
 
OdRxValueType specialization for 'OdDb::PolyMeshType' value type. 
 
OdRxValueType specialization for 'OdDb::TableBreakFlowDirection' value type. 
 
OdRxValueType specialization for 'OdDb::TableBreakOption' value type. 
 
OdRxValueType specialization for 'OdDb::TextHorzMode' value type. 
 
OdRxValueType specialization for 'OdDb::TextVertMode' value type. 
 
OdRxValueType specialization for 'OdDb::Vertex2dType' value type. 
 
OdRxValueType specialization for 'OdDb::Vertex3dType' value type. 
 
OdRxValueType specialization for 'OdDb::Visibility' value type. 
 
OdRxValueType specialization for 'OdDb::XrefStatus' value type. 
 
OdRxValueType specialization for 'OdDbBlockTableRecord::BlockScaling' value type. 
 
OdRxValueType specialization for 'OdDbBlockTableRecordId' value type. 
 
OdRxValueType specialization for 'OdDbDate' value type. 
 
OdRxValueType specialization for 'OdDbGeoPositionMarker::OdTextAlignmentType' value type. 
 
OdRxValueType specialization for 'OdDbHatch::GradientPatternType' value type. 
 
OdRxValueType specialization for 'OdDbHatch::HatchObjectType' value type. 
 
OdRxValueType specialization for 'OdDbHatch::HatchPatternType' value type. 
 
OdRxValueType specialization for 'OdDbHatch::HatchStyle' value type. 
 
OdRxValueType specialization for 'OdDbHelix::ConstrainType' value type. 
 
OdRxValueType specialization for 'OdDbLeader::AnnoType' value type. 
 
OdRxValueType specialization for 'OdDbLight::GlyphDisplayType' value type. 
 
OdRxValueType specialization for 'OdDbLight::LampColorPreset' value type. 
 
OdRxValueType specialization for 'OdDbLight::LampColorType' value type. 
 
OdRxValueType specialization for 'OdDbLight::PhysicalIntensityMethod' value type. 
 
OdRxValueType specialization for 'OdDbLoftOptions' value type. 
 
OdRxValueType specialization for 'OdDbLoftOptions::NormalOption' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::BlockConnectionType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::ContentType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::DrawLeaderOrderType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::DrawMLeaderOrderType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::LeaderType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::SegmentAngleType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::TextAlignmentType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::TextAngleType' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::TextAttachmentDirection' value type. 
 
OdRxValueType specialization for 'OdDbMLeaderStyle::TextAttachmentType' value type. 
 
OdRxValueType specialization for 'OdDbMText::AttachmentPoint' value type. 
 
OdRxValueType specialization for 'OdDbMText::ColumnType' value type. 
 
OdRxValueType specialization for 'OdDbMText::FlowDirection' value type. 
 
OdRxValueType specialization for 'OdDbMTextPtr' value type. 
 
OdRxValueType specialization for 'OdDbMentalRayRenderSettings::ShadowSamplingMultiplier' value type. 
 
OdRxValueType specialization for 'OdDbObjectId' value type. 
 
OdRxValueType specialization for 'OdDbOle2Frame::PlotQuality' value type. 
 
OdRxValueType specialization for 'OdDbOle2Frame::Type' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::PlotPaperUnits' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::PlotRotation' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::PlotType' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::ShadePlotResLevel' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::ShadePlotType' value type. 
 
OdRxValueType specialization for 'OdDbPlotSettings::StdScaleType' value type. 
 
OdRxValueType specialization for 'OdDbRapidRTRenderSettings::RenderTarget' value type. 
 
OdRxValueType specialization for 'OdDbRenderGlobal::Destination' value type. 
 
OdRxValueType specialization for 'OdDbRenderGlobal::Procedure' value type. 
 
OdRxValueType specialization for 'OdDbSection::State' value type. 
 
OdRxValueType specialization for 'OdDbSpline::SplineType' value type. 
 
OdRxValueType specialization for 'OdDbSweepOptions' value type. 
 
OdRxValueType specialization for 'OdDbViewport::ShadePlotType' value type. 
 
OdRxValueType specialization for 'OdDbViewport::StandardScaleType' value type. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
OdRxValueType specialization for 'OdRectangle3d' value type. 
 
 
 
{ Secret } */ // TODO 
 
 
 
 
 
 
 
Performs Drawings system uninitialization. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Verify drawing Digital Signature if exists.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.