123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- #ifndef DBDIMVAR_H
- #define DBDIMVAR_H
- //
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- //
- // DESCRIPTION:
- // The api for dimensioning variables shared by
- // AcDbDatabase,
- // AcDbDimstyleTableRecord, and
- // AcDbDimension
-
- // ------------------------- Dimension Style get methods
- //
- virtual int dimadec () const; // new to R15
- virtual bool dimalt () const;
- virtual int dimaltd () const;
- virtual double dimaltf () const;
- virtual double dimaltrnd() const; // new to R15
- virtual int dimalttd () const;
- virtual int dimalttz () const;
- virtual int dimaltu () const;
- virtual int dimaltz () const;
- virtual const ACHAR * dimapost () const;
- virtual int dimarcsym() const; // new to 2007
- virtual double dimasz () const;
- virtual int dimatfit () const; // new to R15
- virtual int dimaunit () const;
- virtual int dimazin () const; // new to R15
- virtual AcDbObjectId dimblk () const;
- virtual AcDbObjectId dimblk1 () const;
- virtual AcDbObjectId dimblk2 () const;
- virtual double dimcen () const;
- virtual AcCmColor dimclrd () const;
- virtual AcCmColor dimclre () const;
- virtual AcCmColor dimclrt () const;
- virtual int dimdec () const;
- virtual double dimdle () const;
- virtual double dimdli () const;
- virtual ACHAR dimdsep () const; // new to R15
- virtual double dimexe () const;
- virtual double dimexo () const;
- virtual int dimfrac () const; // new to R15
- virtual double dimgap () const;
- virtual double dimjogang() const; // new to 2007
- virtual int dimjust () const;
- virtual AcDbObjectId dimldrblk() const; // new to R15
- virtual double dimlfac () const;
- virtual bool dimlim () const;
- virtual AcDbObjectId dimltex1 () const; // new to 2007
- virtual AcDbObjectId dimltex2 () const; // new to 2007
- virtual AcDbObjectId dimltype () const; // new to 2007
- virtual int dimlunit () const; // new to R15
- virtual AcDb::LineWeight dimlwd () const; // new to R15
- virtual AcDb::LineWeight dimlwe () const; // new to R15
- virtual const ACHAR * dimpost () const;
- virtual double dimrnd () const;
- virtual bool dimsah () const;
- virtual double dimscale () const;
- virtual bool dimsd1 () const;
- virtual bool dimsd2 () const;
- virtual bool dimse1 () const;
- virtual bool dimse2 () const;
- virtual bool dimsoxd () const;
- virtual int dimtad () const;
- virtual int dimtdec () const;
- virtual double dimtfac () const;
- virtual int dimtfill () const; // new to 2007
- virtual AcCmColor dimtfillclr() const; // new to 2007
- virtual bool dimtih () const;
- virtual bool dimtix () const;
- virtual double dimtm () const;
- virtual int dimtmove () const; // new to R15
- virtual bool dimtofl () const;
- virtual bool dimtoh () const;
- virtual bool dimtol () const;
- virtual int dimtolj () const;
- virtual double dimtp () const;
- virtual double dimtsz () const;
- virtual double dimtvp () const;
- virtual AcDbObjectId dimtxsty () const;
- virtual double dimtxt () const;
- virtual int dimtzin () const;
- virtual bool dimupt () const;
- virtual int dimzin () const;
- virtual bool dimfxlenOn () const; // new to R2007
- virtual double dimfxlen () const; // new to R2007
- virtual bool dimtxtdirection() const; // new to 2010
- virtual double dimmzf () const; // new to 2010
- virtual const ACHAR * dimmzs () const; // new to 2010
- virtual double dimaltmzf() const; // new to 2010
- virtual const ACHAR * dimaltmzs() const; // new to 2010
- // ------------------------- Dimension Style set methods
- //
- virtual Acad::ErrorStatus setDimadec (int v); // new to R15
- virtual Acad::ErrorStatus setDimalt (bool v);
- virtual Acad::ErrorStatus setDimaltd (int v);
- virtual Acad::ErrorStatus setDimaltf (double v);
- virtual Acad::ErrorStatus setDimaltmzf(double v); // new to 2010
- virtual Acad::ErrorStatus setDimaltmzs(const ACHAR * v); // new to 2010
- virtual Acad::ErrorStatus setDimaltrnd(double v); // new to R15
- virtual Acad::ErrorStatus setDimalttd (int v);
- virtual Acad::ErrorStatus setDimalttz (int v);
- virtual Acad::ErrorStatus setDimaltu (int v);
- virtual Acad::ErrorStatus setDimaltz (int v);
- virtual Acad::ErrorStatus setDimapost (const ACHAR * v);
- virtual Acad::ErrorStatus setDimarcsym(int v); // new to 2007
- virtual Acad::ErrorStatus setDimasz (double v);
- virtual Acad::ErrorStatus setDimatfit (int v); // new to R15
- virtual Acad::ErrorStatus setDimaunit (int v);
- virtual Acad::ErrorStatus setDimazin (int v); // new to R15
- virtual Acad::ErrorStatus setDimblk (AcDbObjectId v); // new to R15
- virtual Acad::ErrorStatus setDimblk1 (AcDbObjectId v); // new to R15
- virtual Acad::ErrorStatus setDimblk2 (AcDbObjectId v); // new to R15
- virtual Acad::ErrorStatus setDimcen (double v);
- virtual Acad::ErrorStatus setDimclrd (const AcCmColor& v);
- virtual Acad::ErrorStatus setDimclre (const AcCmColor& v);
- virtual Acad::ErrorStatus setDimclrt (const AcCmColor& v);
- virtual Acad::ErrorStatus setDimdec (int v);
- virtual Acad::ErrorStatus setDimdle (double v);
- virtual Acad::ErrorStatus setDimdli (double v);
- virtual Acad::ErrorStatus setDimdsep (ACHAR v); // new to R15
- virtual Acad::ErrorStatus setDimexe (double v);
- virtual Acad::ErrorStatus setDimexo (double v);
- virtual Acad::ErrorStatus setDimfrac (int v); // new to R15
- virtual Acad::ErrorStatus setDimgap (double v);
- virtual Acad::ErrorStatus setDimjogang(double v); // new to 2007
- virtual Acad::ErrorStatus setDimjust (int v);
- virtual Acad::ErrorStatus setDimldrblk(AcDbObjectId v); // new to R15
- virtual Acad::ErrorStatus setDimlfac (double v);
- virtual Acad::ErrorStatus setDimlim (bool v);
- virtual Acad::ErrorStatus setDimltex1 (AcDbObjectId v); // new to 2007
- virtual Acad::ErrorStatus setDimltex2 (AcDbObjectId v); // new to 2007
- virtual Acad::ErrorStatus setDimltype (AcDbObjectId v); // new to 2007
- virtual Acad::ErrorStatus setDimlunit (int v); // new to R15
- virtual Acad::ErrorStatus setDimlwd (AcDb::LineWeight v); // new to R15
- virtual Acad::ErrorStatus setDimlwe (AcDb::LineWeight v); // new to R15
- virtual Acad::ErrorStatus setDimmzf (double v); // new to 2010
- virtual Acad::ErrorStatus setDimmzs (const ACHAR * v); // new to 2010
- virtual Acad::ErrorStatus setDimpost (const ACHAR * v);
- virtual Acad::ErrorStatus setDimrnd (double v);
- virtual Acad::ErrorStatus setDimsah (bool v);
- virtual Acad::ErrorStatus setDimscale (double v);
- virtual Acad::ErrorStatus setDimsd1 (bool v);
- virtual Acad::ErrorStatus setDimsd2 (bool v);
- virtual Acad::ErrorStatus setDimse1 (bool v);
- virtual Acad::ErrorStatus setDimse2 (bool v);
- virtual Acad::ErrorStatus setDimsoxd (bool v);
- virtual Acad::ErrorStatus setDimtad (int v);
- virtual Acad::ErrorStatus setDimtdec (int v);
- virtual Acad::ErrorStatus setDimtfac (double v);
- virtual Acad::ErrorStatus setDimtfill (int v); // new to 2007
- virtual Acad::ErrorStatus setDimtfillclr(const AcCmColor& v); // new to 2007
- virtual Acad::ErrorStatus setDimtih (bool v);
- virtual Acad::ErrorStatus setDimtix (bool v);
- virtual Acad::ErrorStatus setDimtm (double v);
- virtual Acad::ErrorStatus setDimtmove (int v); // new to R15
- virtual Acad::ErrorStatus setDimtofl (bool v);
- virtual Acad::ErrorStatus setDimtoh (bool v);
- virtual Acad::ErrorStatus setDimtol (bool v);
- virtual Acad::ErrorStatus setDimtolj (int v);
- virtual Acad::ErrorStatus setDimtp (double v);
- virtual Acad::ErrorStatus setDimtsz (double v);
- virtual Acad::ErrorStatus setDimtvp (double v);
- virtual Acad::ErrorStatus setDimtxsty (AcDbObjectId v);
- virtual Acad::ErrorStatus setDimtxt (double v);
- virtual Acad::ErrorStatus setDimtxtdirection (bool v); // new 2010
- virtual Acad::ErrorStatus setDimtzin (int v);
- virtual Acad::ErrorStatus setDimupt (bool v);
- virtual Acad::ErrorStatus setDimzin (int v);
- virtual Acad::ErrorStatus setDimblk (const ACHAR * v);
- virtual Acad::ErrorStatus setDimblk1 (const ACHAR * v);
- virtual Acad::ErrorStatus setDimblk2 (const ACHAR * v);
- virtual Acad::ErrorStatus setDimldrblk(const ACHAR * v); // new to R15
- virtual Acad::ErrorStatus setDimfxlenOn (bool v); // new to R2007
- virtual Acad::ErrorStatus setDimfxlen (double v); // new to R2007
- #endif // ifndef DBDIMVAR_H
|