Description
What's New in Autodesk ObjectARX for AutoCAD 2025.
New in AcDb
Topic |
Description |
---|---|
Gets the unique runtime identifier for the given database instance. | |
Gets the database pointer from a db runtime id. | |
Used to identify of the pointer is a valid database. | |
Gets the unique runtime identifier from this database instance. | |
Returns the name string of the AcDbLayerTableRecord object referenced by the entity. | |
Returns the name string of the AcDbLinetypeTableRecord object referenced by the entity. | |
Returns the name of the material assigned to the entity. | |
Returns the name of the plot style name assigned to the entity.The plotStyleName value is used for DXF group code 390. | |
Constructor. | |
The AcDbGeoCompoundCoordinateSystem class represents a compound coordinate reference system that consists of a horizontal geodetic coordinate system and a vertical coordinate system. | |
Destructor. | |
Instantiates a new AcDbGeoCompoundCoordinateSystem object from the current geodetic and virtual catalogs.If no such CRS definitions exist but the input string contains enough information(i.e. WKT or XML) for constructing a temporary AcDbGeoCompoundCoordinateSystem instance, this is being returned instead. | |
Get the geodetic coordinate system. | |
Get the vertical coordinate system. | |
Get the representation string of this compound coordinate system in WKT format. | |
Get the representation string of this compound coordinate system in XML format. | |
Checks if the geodetic CRS and vertical CRS can be compound together. | |
Gets the datum ID, if any, this CRS is reference to. | |
Gets the status of the coordinate system. | |
Returns all coordinate system IDs in a given array. | |
Returns number of vertical coordinate systems belonging to this category. | |
Returns the vertical coordinate system at a given index. | |
Returns all vertical coordinate system IDs in a given array. | |
This method will be called after either the coordinate system or the vertical coordinate system has been changed.Once custom classes override this method, geoCoordinateSystemChanged(AcDbDatabase*, const AcString&, const AcString&) won't be called. | |
This method will be called when either the coordinate system or the vertical coordinate system is about to change.Custom classes can return Acad::eVetoed to veto the change. Once custom classes override this method, geoCoordinateSystemWillChange(AcDbDatabase*, const AcString&, const AcString&) won't be called. | |
The AcDbGeoVerticalCoordinateSystem class represents a vertical coordinate reference system (vertical CRS) definition. A vertical CRS is also being referred to as a spatial reference system (SRS). | |
Destructor. | |
Instantiates a new AcDbGeoVerticalCoordinateSystem object from the current virtual catalog.If no such vertical CRS definition exists but the input string contains enough information(i.e. WKT or XML) for constructing a temporary AcDbGeoVerticalCoordinateSystem instance, this is being returned instead. | |
Instantiates a new AcDbGeoVerticalCoordinateSystem object for every existing, persistent vertical CRS definition from the specified catalog. | |
Gets the direction of the coordinate system axis of this vertical CRS. | |
Gets the datum, if any, this vertical CRS is reference to. | |
Gets the datum ID, if any, this vertical CRS is reference to. | |
Get this definition's description, if there's any. | |
Get this vertical CRS's EPSG code. | |
Get the geodetic extent of this vertical CRS's, the range of longitude and latitude. | |
Get this vertical CRS's identifier string, which is also being referred to as a (coordinate system) code. The ID returned always belongs to the ADSK namespace and is never prefixed. | |
Gets the status of the coordinate system. | |
Get this vertical CRS's type, e.g. ellipsoidal, geoID model derived etc. | |
Gets the unit of the coordinate system axis of this vertical CRS. | |
Gets the unit of the coordinate system axis of this vertical CRS. | |
Gets a factor, that the length units of this vertical CRS instance must be multiplied with to calculate the equivalent in meters. | |
Retrieves the description set by setLayerStateDescription(). | |
Returns the name of the plot style for the AcDbLayerTableRecord object. | |
Returns the layer global plot style name, or the override plot style name, if an override exists for the supplied viewport. In addition, isOverride carries the override state.A NULL viewport object id may be passed in; the global layer plot style name will be returned. | |
This class allows you to access the AcDbNamedObjectDictionary object of a given database.The following pre-defined typedefs are available:
These classes are designed to be type-safe replacements for explicitly using acdbOpenObject(), acdbOpenAcDbObject(), and acdbOpenAcDbEntity(). Using these classes incurs opening and closing objects, which, under certain circumstances, may be better managed using transactions. | |
Assignment operator. | |
Opens the object objId with the specified mode. In effect, this function has the same effect as calling acdbOpenObject. | |
Copy constructor. | |
Default constructor. | |
Opens the database with the specified mode. | |
Opens the database with the specified mode. | |
Returns the current name of your plot settings.When calling getPlotSettingsName() on an AcDbLayout (which is derived from AcDbPlotSettings), you should check the return string for NULL before attempting to access it. An empty string is a valid value for AcDbLayouts::getPlotSettingsName(), and the method will return eOk for a NULL name. | |
Compares two objects to determine whether they are "equal" or not. | |
Gets the name of the dictionary in the Named Object Dictionary that contains all image definitions. | |
Returns the name of the AcDbSymbolTableRecord object. | |
Extract a suitable block name from a pathname. This method calls the getSymbolNameFromPathName() method with "DXF;DWG" as the list of extensions to check. | |
Returns a string that contains the path name to blockName (or an empty string if blockName is nullptr) into sPathName. It then checks to see if the string ends with a .dwg or .dxf extension. This check is not case-sensitive. If the string does not have either extension, then .dwg is appended to the end of the sPathName string. | |
Returns the path name of symbolName (or an empty string if symbolName is nullptr) into sPathName. It then checks to see if the string ends with one of the extensions specified in extensions. This check is not case-sensitive. If the string does not end in one of the extensions specified in extensions, then a period ('.') followed by the first extension specified in extensions is appended to the end of the sPathName string.The extensions argument must be a list of file extensions separated by semicolons. The file extensions should not contain the '.' separator. For example: "dwg;dxf" | |
Extracts a suitable symbol name from a path name. The symbol name is the filename component of the path. Any of the specified filename extensions are removed. Lexical analysis of only the specified path is performed, and no attempt is made at any type of pathname validation or symbol name validation. Thus, the input pathname may be an invalid pathname and the resulting block name may be an invalid block name. If the pathname pointer is null, it is treated as an empty string. The solidus ('/') and backslash ('') are treated as delimiters for directory names. Note that this function is meant to encapsulate a convention for extracting a block name from a pathname. It is not intended for use as a general purpose filename parsing utility.extensions is a semicolon-delimited list of filename extensions, for example "dwg;dxf". If this string is empty, no attempt is made to remove any extensions. If this list is just an asterisk ("*"), then any trailing extensions are removed from the path name. | |
Performs the necessary concatenation of the specified drawing name and symbol name to create a dependent symbol name. A copy of the resulting name is allocated in sNewName. No validation of the drawing name, symbol name, or the resulting symbol name is done.null pointers for dwgName and symbolName are treated as empty strings. | |
Perform any "pre-validation" steps on a string that will be validated as a symbol name:
Note: Correspondence between preserveCase and the meaning for EXTNAMES=1. When EXTNAMES=1, AutoCAD preserves the case of symbol names. When EXTNAMES=0, AutoCAD forces names to uppercase, which is the corresponding behavior of passing in false for preserveCase. | |
Returns a "repaired" symbol name. The method uses the same symbol name validation rules as the validation functions (such as validatePreExtendedSymbolname() and validateSymbolName()) except that the returned string does not contain any illegal characters. Those are replaced with valid replacement characters. The caller is responsible for handling names that are too long to be valid legacy symbol names; the method won't truncate the name.If the symbol name was repaired, then sNewName contains the repaired symbol name. The pointer sNewName is empty if oldName did not need any repairing. | |
Returns a "repaired" symbol name. The method uses the same symbol name validation rules as the validation functions (such as validatePreExtendedSymbolname() and validateSymbolName()) except that the returned string does not contain any illegal characters. Those are replaced with valid replacement characters.If the symbol name was repaired, then sNewName is a string that contains the repaired symbol name. sNewName is empty if oldName did not need any repairing. | |
Gets the block attribute value if the content at the specified content index is a block with attributes. |
New in AcAp
Topic |
Description |
---|---|
Returns the registry path for the specified profile. |
New in AcEd
Topic |
Description |
---|---|
Provides notification for the start of an AutoCAD color acquisition operation. | |
Provides notification for the end of an AutoCAD color acquisition operation. |
New in AcGe
Moves a temp AcGeBoundBlock3d object to the object. | |
Move constructor. | |
Moves a temp AcGeCircArc2d object to the object. | |
Move constructor. | |
Moves a temp AcGeCurve2d object to the object. | |
Move constructor. | |
Moves a temp AcGeEntity2d object to the object. | |
Move constructor. | |
Copy constructor. | |
Move constructor. | |
Moves a temp AcGeEntity3d object to the object. | |
Move constructor. | |
Copy constructor. | |
Move constructor. | |
Moves a temp AcGeLinearEnt2d object to the object. | |
Move constructor. | |
Moves a temp AcGeLineSeg2d object to the object. | |
Move constructor. | |
Moves a temp AcGePlanarEnt object to the object. | |
Move constructor. | |
Moves a temp AcGePlane object to the object. | |
Move constructor. | |
Moves a temp AcGeSurface object to the object. | |
Move constructor. |
New in AcGi
Topic |
Description |
---|---|
Returns true if the current implementation of AcGi supports Curve Trait. | |
This method draws a 3D curve object. |
New in AcPl
Topic |
Description |
---|---|
The plotting pipeline uses this method to get the status string of the sheet currently being plotted. The string retrieved by this process is usually the stage status of the current sheet. | |
Gets the strings that appear in different UI controls of the plot progress dialog created by acplCreatePlotProgressDialog(). |
New in AcRx
Topic |
Description |
---|---|
Deletes the object. | |
Deletes the object. | |
Deletes the object. | |
Deletes the object. | |
Creates a new object. | |
Creates a new object. | |
Creates a new object. | |
Creates a new object. |
New in Global Functions
Topic |
Description |
---|---|
Establishes a relationship between the AcGiDrawStream object and the entity object it is associated with, allowing the AcGiDrawStream object to record the stream of drawing data it generates when the entity object is regenerated, thus completing the creation process.When the creation is complete, clients can use the acdbEndDrawStreamBuilding function to separate the AcGiDrawStream object from the entity object. A typical usage scenario is to implement your own AcGiDrawableReactor:
Besides, within AutoCAD all related calls are converted to the newly created APIs to ensure consistency. | |
Ends the relationship between the AcGiDrawStream object and the entity object it is associated with.The acdbBeginDrawStreamBuilding function is used to create a relationship between a AcGiDrawStream object with an entity object. | |
Returns the proxy's DXF, class, and application names in the appropriate arguments. | |
Determines whether the managed application (DLL) file is loaded. | |
For internal use only. | |
For internal use only. | |
Accepts an xref file pathname and returns a string that contains a block name that follows the AutoCAD policy rules for its creation. Typically, this is the filename of the xref file.Returns an error if the block name cannot be created. Returns Acad::eOk if successful. | |
Checks if the input address is from the stack. | |
Takes an ADS return code, such as RTNORM or RTERROR, which was presumably returned by another acedXXX() call. (See adscodes.h for ADS return codes RT*.)Copies the input string into the dest buffer if it fits nSizeDest is length of dest buffer in widecharsIf not enough room for entire string plus null terminator, then the string is truncated and ADS_RTINPUTTRUNCATED is returned.Note: For internal use by deprecated ACHAR-based functions. |
New in MFC Extension Classes
Topic |
Description |
---|---|
This method is the MFC handler that controls initialization during subclassing. |
New in Structs
Topic |
Description |
---|---|
Specialization of std::hash so AcString can be used directly with std containers that use hash without having to define a custom hasher.Meets all requirements from https://en.cppreference.com/w/cpp/utility/hash. | |
Calculates a hash value from the provided string. |
New in Miscellaneous Classes
Topic |
Description |
---|---|
Return a reference to the new last element.This function doesn't take a value argument, so the new element is assigned a default value, if any.Allows clients to append an item and reference it in one statement, as in:pFiler->readDouble(&mWidths.append()); | |
Allocates additional memory for the stack. | |
Allocates additional memory for the stack. | |
Compares the string for non-equality with a string of utf8 characters. | |
Compares the string for not empty. | |
Returns a const reference to the character at the given position in the string. | |
Copies an AcString and appends a Utf8 string of chars to it. | |
Returns a copy of the existing string. | |
Appends a Utf8 string of chars to the end of the string. | |
String is returned unmodified. | |
Compares the string to determine if it is less than a string of chars. | |
Compares to empty. | |
Compares the string to determine if it is less than or equal to a Utf8 string of chars. | |
Compared to empty with less then or equal. | |
Initialize this AcString to empty. | |
Assign a string of MBCS characters to the string. | |
Compares the string for equality with a string of narrow chars. | |
Compare to empty string. Same as calling isEmpty or empty. | |
Compares the string to determine if it is greater than a string of narrow chars. | |
Compares to empty. | |
Compares the string to determine if it is greater than or equal to a string of Utf8 characters. | |
Compares to empty. | |
Converts the input integer value into either a hex or decimal (base 10) string. | |
Converts the input integer value into either a hex or decimal (base 10) string. | |
Converts the input integer value into either a hex or decimal (base 10) string. | |
Constructs a string and initializes it from a narrow char string. | |
Constructs a string and initializes it from a narrow char string. | |
Constructs a string and initializes it from a std::string_view. | |
Constructor which repeats a character n times. | |
Constructs a string and initializes it from a std::string. | |
Converts the input integer value into either a hex or decimal (base 10) string. | |
Constructs a string and initializes it to empty by passing nullptr. | |
Appends an Utf8 string to the end of the string. | |
String is returned unchanged. | |
Assigns a string of Utf8 narrow chars to the string. | |
Assigns a string of narrow chars to the string. | |
Assigns a nullptr to the string, setting the string to empty. | |
Move assign an AcString object to the string. | |
Assigns a string of Unicode characters to the string. | |
Gets a pointer to the current string as a widechar Unicode. | |
Compares the string to a string of narrow chars. | |
Compare the string to nullptr. | |
Compares two strings case-independently. | |
Compare two strings case-independently with maximum length. | |
Compares the string case-independently to another AcString object with maximum length. | |
Compares to empty. | |
Compare the string case-independently to a string of narrow chars. | |
Compares the string case-independently to a string of Unicode characters with maximum length. | |
Copies the string. | |
Checks whether the current string value is null, i.e. has a logical length of zero. | |
Find a substring in the string, case-independently. | |
Generates a hash for the string contents. | |
Copies the string. | |
Gets the string as Utf-8. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value pops an assert in debug build. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value indicates the default error handling behavior. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value throws an integer exception. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value returns -1 or ffff. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value treats an empty string as error. | |
Flag value used to determine how to handle errors such as invalid characters or overflow during string parsing.This value returns zero on errors. |
New Enum
Topic |
Description |
---|---|
AcArray::enum@1 |
Enum of constants used by AcArray class. |
Notify open mode | |
Read open mode | |
Write open mode | |
Enum is used to indicate the status of a coordinate reference system. | |
Enum used to indicate the axis direction of a vertical coordinate reference system. | |
Enum used to indicate the type of a vertical coordinate reference system. | |
Integer literals |