• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Dialog Control Language > DLG Functions > dlg_get_attr_string 

dlg_get_attr_string

dlg_get_attr_string

dlg_get_attr_string

int dlg_get_attr_string (sds_htile handle, char *attribute, char *value, long length);


Determine the DCL value of this tile's attribute.


This function returns the value of the dialog box attribute. Note that this value changes due to user input, as well as calls made by the dlg_get_attr function. Unlike dlg_get_attr, this function is used inside a callback function.

The key argument specifies the dialog box tile; key is a string and is case-sensitive.

The attribute argument is the name of the attribute. See the DCL Programming Reference for valid attribute names.

The value argument is the value of the attribute returned by this function.

NOTES

  • The value argument does not return the current value of the argument; instead, it is the original value set by the DCL file.
  • The length argument is a memory buffer large enough to hold the value plus the EOL terminator.
  • This function returns RTNORM when successful, or an error code, if not.

dlg_get_attr

dlg_get_tile

dlg_set_tile

Programming Overview of SDS (Solutions Development System)

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.