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.
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.
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."
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;
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.
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);
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;
This symbol doesn't have an extended interface implemented. It is inherited from AcmCSubSymbol. The basic interface is implemented as described in AcmCSubSymbol.
virtual Acm::SubSymbolType typeId() const;
virtual void setTypeId(Acm::SubSymbolType id);
virtual Acm::SymbolAttachmentPoint attachPoint() const;
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.
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;
|