dbdimvar.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. #ifndef DBDIMVAR_H
  2. #define DBDIMVAR_H
  3. //
  4. //
  5. //////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Copyright 2015 Autodesk, Inc. All rights reserved.
  8. //
  9. // Use of this software is subject to the terms of the Autodesk license
  10. // agreement provided at the time of installation or download, or which
  11. // otherwise accompanies this software in either electronic or hard copy form.
  12. //
  13. //////////////////////////////////////////////////////////////////////////////
  14. //
  15. //
  16. // DESCRIPTION:
  17. // The api for dimensioning variables shared by
  18. // AcDbDatabase,
  19. // AcDbDimstyleTableRecord, and
  20. // AcDbDimension
  21. // ------------------------- Dimension Style get methods
  22. //
  23. virtual int dimadec () const; // new to R15
  24. virtual bool dimalt () const;
  25. virtual int dimaltd () const;
  26. virtual double dimaltf () const;
  27. virtual double dimaltrnd() const; // new to R15
  28. virtual int dimalttd () const;
  29. virtual int dimalttz () const;
  30. virtual int dimaltu () const;
  31. virtual int dimaltz () const;
  32. virtual const ACHAR * dimapost () const;
  33. virtual int dimarcsym() const; // new to 2007
  34. virtual double dimasz () const;
  35. virtual int dimatfit () const; // new to R15
  36. virtual int dimaunit () const;
  37. virtual int dimazin () const; // new to R15
  38. virtual AcDbObjectId dimblk () const;
  39. virtual AcDbObjectId dimblk1 () const;
  40. virtual AcDbObjectId dimblk2 () const;
  41. virtual double dimcen () const;
  42. virtual AcCmColor dimclrd () const;
  43. virtual AcCmColor dimclre () const;
  44. virtual AcCmColor dimclrt () const;
  45. virtual int dimdec () const;
  46. virtual double dimdle () const;
  47. virtual double dimdli () const;
  48. virtual ACHAR dimdsep () const; // new to R15
  49. virtual double dimexe () const;
  50. virtual double dimexo () const;
  51. virtual int dimfrac () const; // new to R15
  52. virtual double dimgap () const;
  53. virtual double dimjogang() const; // new to 2007
  54. virtual int dimjust () const;
  55. virtual AcDbObjectId dimldrblk() const; // new to R15
  56. virtual double dimlfac () const;
  57. virtual bool dimlim () const;
  58. virtual AcDbObjectId dimltex1 () const; // new to 2007
  59. virtual AcDbObjectId dimltex2 () const; // new to 2007
  60. virtual AcDbObjectId dimltype () const; // new to 2007
  61. virtual int dimlunit () const; // new to R15
  62. virtual AcDb::LineWeight dimlwd () const; // new to R15
  63. virtual AcDb::LineWeight dimlwe () const; // new to R15
  64. virtual const ACHAR * dimpost () const;
  65. virtual double dimrnd () const;
  66. virtual bool dimsah () const;
  67. virtual double dimscale () const;
  68. virtual bool dimsd1 () const;
  69. virtual bool dimsd2 () const;
  70. virtual bool dimse1 () const;
  71. virtual bool dimse2 () const;
  72. virtual bool dimsoxd () const;
  73. virtual int dimtad () const;
  74. virtual int dimtdec () const;
  75. virtual double dimtfac () const;
  76. virtual int dimtfill () const; // new to 2007
  77. virtual AcCmColor dimtfillclr() const; // new to 2007
  78. virtual bool dimtih () const;
  79. virtual bool dimtix () const;
  80. virtual double dimtm () const;
  81. virtual int dimtmove () const; // new to R15
  82. virtual bool dimtofl () const;
  83. virtual bool dimtoh () const;
  84. virtual bool dimtol () const;
  85. virtual int dimtolj () const;
  86. virtual double dimtp () const;
  87. virtual double dimtsz () const;
  88. virtual double dimtvp () const;
  89. virtual AcDbObjectId dimtxsty () const;
  90. virtual double dimtxt () const;
  91. virtual int dimtzin () const;
  92. virtual bool dimupt () const;
  93. virtual int dimzin () const;
  94. virtual bool dimfxlenOn () const; // new to R2007
  95. virtual double dimfxlen () const; // new to R2007
  96. virtual bool dimtxtdirection() const; // new to 2010
  97. virtual double dimmzf () const; // new to 2010
  98. virtual const ACHAR * dimmzs () const; // new to 2010
  99. virtual double dimaltmzf() const; // new to 2010
  100. virtual const ACHAR * dimaltmzs() const; // new to 2010
  101. // ------------------------- Dimension Style set methods
  102. //
  103. virtual Acad::ErrorStatus setDimadec (int v); // new to R15
  104. virtual Acad::ErrorStatus setDimalt (bool v);
  105. virtual Acad::ErrorStatus setDimaltd (int v);
  106. virtual Acad::ErrorStatus setDimaltf (double v);
  107. virtual Acad::ErrorStatus setDimaltmzf(double v); // new to 2010
  108. virtual Acad::ErrorStatus setDimaltmzs(const ACHAR * v); // new to 2010
  109. virtual Acad::ErrorStatus setDimaltrnd(double v); // new to R15
  110. virtual Acad::ErrorStatus setDimalttd (int v);
  111. virtual Acad::ErrorStatus setDimalttz (int v);
  112. virtual Acad::ErrorStatus setDimaltu (int v);
  113. virtual Acad::ErrorStatus setDimaltz (int v);
  114. virtual Acad::ErrorStatus setDimapost (const ACHAR * v);
  115. virtual Acad::ErrorStatus setDimarcsym(int v); // new to 2007
  116. virtual Acad::ErrorStatus setDimasz (double v);
  117. virtual Acad::ErrorStatus setDimatfit (int v); // new to R15
  118. virtual Acad::ErrorStatus setDimaunit (int v);
  119. virtual Acad::ErrorStatus setDimazin (int v); // new to R15
  120. virtual Acad::ErrorStatus setDimblk (AcDbObjectId v); // new to R15
  121. virtual Acad::ErrorStatus setDimblk1 (AcDbObjectId v); // new to R15
  122. virtual Acad::ErrorStatus setDimblk2 (AcDbObjectId v); // new to R15
  123. virtual Acad::ErrorStatus setDimcen (double v);
  124. virtual Acad::ErrorStatus setDimclrd (const AcCmColor& v);
  125. virtual Acad::ErrorStatus setDimclre (const AcCmColor& v);
  126. virtual Acad::ErrorStatus setDimclrt (const AcCmColor& v);
  127. virtual Acad::ErrorStatus setDimdec (int v);
  128. virtual Acad::ErrorStatus setDimdle (double v);
  129. virtual Acad::ErrorStatus setDimdli (double v);
  130. virtual Acad::ErrorStatus setDimdsep (ACHAR v); // new to R15
  131. virtual Acad::ErrorStatus setDimexe (double v);
  132. virtual Acad::ErrorStatus setDimexo (double v);
  133. virtual Acad::ErrorStatus setDimfrac (int v); // new to R15
  134. virtual Acad::ErrorStatus setDimgap (double v);
  135. virtual Acad::ErrorStatus setDimjogang(double v); // new to 2007
  136. virtual Acad::ErrorStatus setDimjust (int v);
  137. virtual Acad::ErrorStatus setDimldrblk(AcDbObjectId v); // new to R15
  138. virtual Acad::ErrorStatus setDimlfac (double v);
  139. virtual Acad::ErrorStatus setDimlim (bool v);
  140. virtual Acad::ErrorStatus setDimltex1 (AcDbObjectId v); // new to 2007
  141. virtual Acad::ErrorStatus setDimltex2 (AcDbObjectId v); // new to 2007
  142. virtual Acad::ErrorStatus setDimltype (AcDbObjectId v); // new to 2007
  143. virtual Acad::ErrorStatus setDimlunit (int v); // new to R15
  144. virtual Acad::ErrorStatus setDimlwd (AcDb::LineWeight v); // new to R15
  145. virtual Acad::ErrorStatus setDimlwe (AcDb::LineWeight v); // new to R15
  146. virtual Acad::ErrorStatus setDimmzf (double v); // new to 2010
  147. virtual Acad::ErrorStatus setDimmzs (const ACHAR * v); // new to 2010
  148. virtual Acad::ErrorStatus setDimpost (const ACHAR * v);
  149. virtual Acad::ErrorStatus setDimrnd (double v);
  150. virtual Acad::ErrorStatus setDimsah (bool v);
  151. virtual Acad::ErrorStatus setDimscale (double v);
  152. virtual Acad::ErrorStatus setDimsd1 (bool v);
  153. virtual Acad::ErrorStatus setDimsd2 (bool v);
  154. virtual Acad::ErrorStatus setDimse1 (bool v);
  155. virtual Acad::ErrorStatus setDimse2 (bool v);
  156. virtual Acad::ErrorStatus setDimsoxd (bool v);
  157. virtual Acad::ErrorStatus setDimtad (int v);
  158. virtual Acad::ErrorStatus setDimtdec (int v);
  159. virtual Acad::ErrorStatus setDimtfac (double v);
  160. virtual Acad::ErrorStatus setDimtfill (int v); // new to 2007
  161. virtual Acad::ErrorStatus setDimtfillclr(const AcCmColor& v); // new to 2007
  162. virtual Acad::ErrorStatus setDimtih (bool v);
  163. virtual Acad::ErrorStatus setDimtix (bool v);
  164. virtual Acad::ErrorStatus setDimtm (double v);
  165. virtual Acad::ErrorStatus setDimtmove (int v); // new to R15
  166. virtual Acad::ErrorStatus setDimtofl (bool v);
  167. virtual Acad::ErrorStatus setDimtoh (bool v);
  168. virtual Acad::ErrorStatus setDimtol (bool v);
  169. virtual Acad::ErrorStatus setDimtolj (int v);
  170. virtual Acad::ErrorStatus setDimtp (double v);
  171. virtual Acad::ErrorStatus setDimtsz (double v);
  172. virtual Acad::ErrorStatus setDimtvp (double v);
  173. virtual Acad::ErrorStatus setDimtxsty (AcDbObjectId v);
  174. virtual Acad::ErrorStatus setDimtxt (double v);
  175. virtual Acad::ErrorStatus setDimtxtdirection (bool v); // new 2010
  176. virtual Acad::ErrorStatus setDimtzin (int v);
  177. virtual Acad::ErrorStatus setDimupt (bool v);
  178. virtual Acad::ErrorStatus setDimzin (int v);
  179. virtual Acad::ErrorStatus setDimblk (const ACHAR * v);
  180. virtual Acad::ErrorStatus setDimblk1 (const ACHAR * v);
  181. virtual Acad::ErrorStatus setDimblk2 (const ACHAR * v);
  182. virtual Acad::ErrorStatus setDimldrblk(const ACHAR * v); // new to R15
  183. virtual Acad::ErrorStatus setDimfxlenOn (bool v); // new to R2007
  184. virtual Acad::ErrorStatus setDimfxlen (double v); // new to R2007
  185. #endif // ifndef DBDIMVAR_H