Documente online.
Zona de administrare documente. Fisierele tale
Am uitat parola x Creaza cont nou
 HomeExploreaza
upload
Upload




Datum Id and Feature Id

autocad en


Datum Id and Feature Id

AcmSymbol is the base class for all symbol classes in AutoCAD/M. AcmSymbol is derived from AcDbEntity and can't be used to create instances. This class's primary responsibility is to handle leaders and connections to t 22322w2219w he AcmStandard. It also handles the sub-entities created by each particular symbol.

AcmIdStd

This class is inherited from the AcmSymbolStd class, and implements all of its virtual member functions. This class is used as a common class for supporting the AcmDatumId and AcmFeatId classes. This class doesn't contain any special services.



Constructing and Services

virtual ~AcmIdStd();

virtual void getSubEnts(const AcmCId* pSymb, AcmCAuxEntArray& subents) const;

This function will create a list of all sub-entities, which represents the symbol according the content of sub-symbol.

See also "AcmCSubSymbol," "Family of AcmCAuxEntities."

Setting and Querying Data

Supports the interface required by AcmSymbolStd class and the following additional member function:

virtual Adesk::Boolean isSupportedType(Acm::SubSymbolType type) const;

Some of the standards don't support feature Id, for example ANSI. This member function is used to obtain the status for the feature id and datum Id symbols.

virtual Acm::ArrowType defaultArrowType() const;

Since the Datum Id uses a different arrowheads than other symbols, this member function specifies which one. If users change it, it works as the standard override.

virtual Adesk::Boolean isLandingSupported(Acm::SubSymbolType type) const;

virtual double nonDrawingDistance(AcmCId* pData) const;

virtual Acm::ErrorStatus checkVisibility(AcmCId* pData) const;

virtual Acm::ErrorStatus initFields(AcmCId* pData) const;

virtual Acm::ErrorStatus setSuggested(AcmCId* pData) const;

Dialog Support

Supports the interface required by the AcmSymbolStd class and the following additional member functions :

virtual Adesk::Boolean getDatumArrowDesc(AcmCObjArray<AcmCArrowDesc>& list) const;

Selects all supported arrowhead services available for use for the datum standard and returns a list of their descriptor objects.

AcmId

This class is inherited from AcmSymbol. It overrides all overridden AcDbEntity functions, which is required. The class sub-symbol is AcmCId inherited from AcmCSubSymbol.

virtual ~AcmId();

virtual Acm::SymbolAttachmentPoint symbolAttachment() const;

LPCTSTR value() const;

Acm::ErrorStatus setValue(LPCTSTR value);

Acm::Visibility variableStatus() const;

Acm::ErrorStatus setVariableStatus(Acm::Visibility status);

Acm::ErrorStatus getVarDlgInfo(CVarDlgInfo& v) const;

Acm::ErrorStatus setVarDlgInfo(const CVarDlgInfo& v);

AcmSymbol Interface

The following member functions are overloaded from AcmSymbol. They are usually overloaded to supply surface symbol intelligent behavior with a leader and its sub-symbol.

virtual Acm::ErrorStatus setSymbolDefaults(AcDbDatabase* pDb = NULL);

virtual AcmCId * subSymbol() const;

Adesk::Boolean isDatum() const;

virtual void leaderTipPointChanged(const AcGeVector3d& offset,const AcmCLeader* leader);

virtual Acm::ErrorStatus removeLeader(Adesk::UInt16 index);

virtual Acad::ErrorStatus getClassID(CLSID* pClsid) const;

AcmCId

This symbol doesn't have an extended interface implemented. It is inherited from AcmCSubSymbol. The basic interface is implemented as described in AcmCSubSymbol.

Setting and Querying Private Sub-Symbol Data

virtual Acm::SubSymbolType typeId() const;

virtual void setTypeId(Acm::SubSymbolType id);

virtual Acm::SymbolAttachmentPoint attachPoint() const;

AcmDatumId

This class is inherited from AcmId and defines the override for the Datum Id symbol. The following are overridden member functions from AcmId symbol:

AcmDatumId();

virtual ~AcmDatumId();

virtual Acm::SymbolAttachmentPoint symbolAttachment() const;

virtual void leaderTipPointChanged(const AcGeVector3d& offset,const AcmCLeader* leader);

virtual Acad::ErrorStatus moveGripPointsAt(const AcDbIntArray& indices,const AcGeVector3d& offset);

virtual Acm::ErrorStatus setSymbolDefaults(AcDbDatabase* pDb = NULL);

virtual Acm::ErrorStatus addLeader(const AcGePoint3dArray &ptrArray);

virtual Acad::ErrorStatus getClassID(CLSID* pClsid) const;

Implement the symbol behavior.

AcmFeatId

This class is inherited from AcmId and defines the override for the Datum Id symbol. The following are overridden member functions from AcmId symbol:

AcmFeatId();

virtual ~AcmFeatId();

virtual void leaderTipPointChanged(const AcGeVector3d& offset,const AcmCLeader* leader);

virtual Acm::ErrorStatus setSymbolDefaults(AcDbDatabase* pDb = NULL);

virtual Acm::ErrorStatus addLeader(const AcGePoint3dArray &ptrArray);

virtual Acad::ErrorStatus getClassID(CLSID* pClsid) const;

virtual Acm::SymbolAttachmentPoint symbolAttachment() const;


Document Info


Accesari: 1402
Apreciat: hand-up

Comenteaza documentul:

Nu esti inregistrat
Trebuie sa fii utilizator inregistrat pentru a putea comenta


Creaza cont nou

A fost util?

Daca documentul a fost util si crezi ca merita
sa adaugi un link catre el la tine in site


in pagina web a site-ului tau.




eCoduri.com - coduri postale, contabile, CAEN sau bancare

Politica de confidentialitate | Termenii si conditii de utilizare




Copyright © Contact (SCRIGROUP Int. 2024 )