找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 1514|回复: 1

[分享] 将你的应用程序升级到ARX 2021指南

[复制链接]

已领礼包: 13个

财富等级: 恭喜发财

发表于 2020-3-29 01:02:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
Migration Guide > ObjectARX Migration Guide
ObjectARX Migration Guide


Description
Information about how to update existing ObjectARX® applications to work with AutoCAD® 2021 is provided here.
AutoCAD 2021 is a binary breaking release and ObjectARX applications developed for AutoCAD 2020 and earlier releases will need to be recompiled. The following sections list API changes made to this release. If your application uses any of these APIs, you will need to update your code accordingly.


Deprecated ObjectARX API
Class
Declaration
Use Instead

int acedGetCfg(const ACHAR * sym, ACHAR * var, size_t len);


int acedSetCfg(const ACHAR * sym, const ACHAR * val);

AcCmColor
ACDBCORE2D_PORT Acad::ErrorStatus setBlue(Adesk::UInt8 blue) override;
Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) override;
AcCmColor
ACDBCORE2D_PORT Acad::ErrorStatus setColor(Adesk::UInt32 color) override;
ACDBCORE2D_PORT Acad::ErrorStatus setRGB(Adesk::RGBQuad rgbquad) override;
ACDBCORE2D_PORT Acad::ErrorStatus setRGBM(Adesk::UInt32 rgbmValue) override;
AcCmColor
ACDBCORE2D_PORT Acad::ErrorStatus setColorMethod(AcCmEntityColor::ColorMethod eColorMethod) override;
setNone(), setByBlock(), setByLayer(), etc
AcCmColor
ACDBCORE2D_PORT Acad::ErrorStatus setGreen(Adesk::UInt8 green) override;
Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) override;
AcCmColor
ACDBCORE2D_PORT Acad::ErrorStatus setRed(Adesk::UInt8 red) override;
Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) override;
AcCmColor
ACDBCORE2D_PORT Adesk::UInt32 color() const;
ACDBCORE2D_PORT Adesk::RGBQuad getRGB() const override;
ACDBCORE2D_PORT Adesk::UInt32 getRGBM() const override;
AcCmColorBase
virtual Acad::ErrorStatus setBlue(Adesk::UInt8 blue) = 0;
virtual Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) = 0;
AcCmColorBase
virtual Acad::ErrorStatus setColor(Adesk::UInt32 color) = 0;
virtual Acad::ErrorStatus setRGB(Adesk::RGBQuad rgbquad) = 0;
virtual Acad::ErrorStatus setRGBM(Adesk::UInt32 rgbmValue) = 0;
AcCmColorBase
virtual Acad::ErrorStatus setColorMethod(AcCmEntityColor::ColorMethod eColorMethod) = 0;
setNone(), setByBlock(), setByLayer(), etc
AcCmColorBase
virtual Acad::ErrorStatus setGreen(Adesk::UInt8 green) = 0;
virtual Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) = 0;
AcCmColorBase
virtual Acad::ErrorStatus setRed(Adesk::UInt8 red) = 0;
virtual Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue) = 0;
AcCmColorBase
virtual Adesk::UInt32 color() const = 0;
virtual Adesk::RGBQuad getRGB() const = 0;
virtual Adesk::UInt32 getRGBM() const = 0;
AcCmComplexColor
virtual ACDBCORE2D_PORT Acad::ErrorStatus setBlue(Adesk::UInt8 blue);
Acad::ErrorStatus setRGB(Adesk::UInt32 rgbValue);
AcCmComplexColor
virtual ACDBCORE2D_PORT Acad::ErrorStatus setColor(Adesk::UInt32 color);
Acad::ErrorStatus setRGB(Adesk::UInt32 rgbValue);
Acad::ErrorStatus setRGBM(Adesk::UInt32 rgbmValue);
AcCmComplexColor
virtual ACDBCORE2D_PORT Acad::ErrorStatus setColorMethod(AcCmEntityColor::ColorMethod eColorMethod);
setNone(), setByBlock(), setByLayer(), etc
AcCmComplexColor
virtual ACDBCORE2D_PORT Acad::ErrorStatus setGreen(Adesk::UInt8 green);
Acad::ErrorStatus setRGB(Adesk::UInt32 rgbValue);
AcCmComplexColor
virtual ACDBCORE2D_PORT Acad::ErrorStatus setRed(Adesk::UInt8 red);
Acad::ErrorStatus setRGB(Adesk::UInt32 rgbValue);
AcCmComplexColor
virtual ACDBCORE2D_PORT Adesk::UInt32 color() const;
Adesk::UInt32 getRGB() const;
Adesk::UInt32 getRGBM() const;
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setBlue(Adesk::UInt8 blue);
ACDBCORE2D_PORT Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setColor(Adesk::UInt32 color);
setRGBM(), setRGB(), or setCOLORREF()
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setColorMethod(ColorMethod eColorMethod);
setNone(), setByBlock(), setByLayer(), etc
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setGreen(Adesk::UInt8 green);
ACDBCORE2D_PORT Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setRed(Adesk::UInt8 red);
ACDBCORE2D_PORT Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setTrueColor();
ACDBCORE2D_PORT AcCmEntityColor makeTrueColor() const;
AcCmEntityColor
ACDBCORE2D_PORT Acad::ErrorStatus setTrueColorMethod();
ACDBCORE2D_PORT AcCmEntityColor makeTrueColor() const;
AcCmEntityColor
ACDBCORE2D_PORT AcCmEntityColor(ColorMethod eColorMethod);
ACDBCORE2D_PORT AcCmEntityColor();
AcCmEntityColor
ACDBCORE2D_PORT Adesk::UInt32 color() const;
getRGBM(), getRGB(), or getCOLORREF()
AcCmEntityColor
ACDBCORE2D_PORT Adesk::UInt32 trueColor() const;
ACDBCORE2D_PORT AcCmEntityColor makeTrueColor() const;
AcCmEntityColor
ACDBCORE2D_PORT Adesk::UInt8 trueColorMethod() const;
ACDBCORE2D_PORT ColorMethod colorMethod() const;
AcCmEntityColor
static ACDBCORE2D_PORT Adesk::UInt32 lookUpRGB(Adesk::UInt8 colorIndex);
ACDBCORE2D_PORT AcCmEntityColor makeRGB(Adesk::ColorRef background_rgb = 0) const;
AcCmEntityColor
static ACDBCORE2D_PORT Adesk::UInt8 lookUpACI(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
ACDBCORE2D_PORT Adesk::Int16 colorIndex() const;
AcCmEntityColor
static ACDBCORE2D_PORT Adesk::UInt8 lookUpACI(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
ACDBCORE2D_PORT Adesk::Int16 colorIndex() const;
AcDbHostApplicationServices
AcadInternalServices * acadInternalServices2();

AcString
int findOneOfRev(const ACHAR * psz) const;
ACBASE_PORT int findLast(
const ACHAR * psz,
int nEndPos = -1
) const;
AcString
int findRev(ACHAR ch) const;
int findLast(
ACHAR ch,
int nEndPos = -1
) const;
AcString
int findRev(const ACHAR * psz) const;
ACBASE_PORT int findLast(
const ACHAR * psz,
int nEndPos = -1
) const;
AcString
int findRev(const AcString & acs) const;
int findLast(
ACHAR ch,
int nEndPos = -1
) const;
CAdUiPathname
static ACHAR GetLastCharacter(const AcString& s);
AcString methods directly




Changed ObjectARX API
Class
Previous Class
Declaration
Previous Declaration


ACUI_PORT bool AcUiFindContextHelpFullPath(LPCTSTR fileName, CString& fullPath);
ACUI_PORT BOOL AcUiFindContextHelpFullPath (
LPCTSTR fileName, CString& fullPath
);


ACUI_PORT bool AcUiIsInputPending();
ACUI_PORT BOOL AcUiIsInputPending ();


bool ADUI_PORT AdUiRegisterTool(LPCTSTR lpszToolName, LPCTSTR lpszCommand, LPCGUID pID);
bool ADUI_PORT AdUiRegisterTool(LPCTSTR lpszToolName, LPCTSTR lpszCommand, CLSID* pID);


typedef AcEdSSGetFilter AcEdSSGetFilter2;
class AcEdSSGetFilter2 : public AcEdSSGetFilter;


typedef AcEdSSGetFilter AcEdSSGetFilter3;
class AcEdSSGetFilter3 : public AcEdSSGetFilter;
AcDbDatabaseReactor

virtual void headerSysVarChanged(const AcDbDatabase*, const ACHAR*, bool);
virtual void headerSysVarChanged(
const AcDbDatabase* dwg,
const ACHAR* name,
Adesk::Boolean bSuccess
);
AcDbDatabaseReactor

virtual void objectErased(const AcDbDatabase*, const AcDbObject*, bool);
virtual void objectErased(
const AcDbDatabase* dwg,
const AcDbObject* dbObj,
Adesk::Boolean bErased
);
AcDbObjectReactor

virtual void erased(const AcDbObject*, bool);
virtual void erased(const AcDbObject* dbObj, Adesk::Boolean bErasing);
AcEditorReactor

virtual void sysVarChanged(const ACHAR*, bool);
virtual void sysVarChanged(const ACHAR* varName, Adesk::Boolean success);
AcEditorReactor

virtual void toolbarBitmapSizeChanged(bool);
virtual void toolbarBitmapSizeChanged(Adesk::Boolean bLarge);
AcEditorReactor

virtual void toolbarBitmapSizeWillChange(bool);
virtual void toolbarBitmapSizeWillChange(Adesk::Boolean bLarge);
AcEditorReactor

virtual void undoSubcommandAuto(int, bool);
virtual void undoSubcommandAuto(int activity, Adesk::Boolean state);
AcEdSSGetFilter
AcEdSSGetFilter2
virtual void ssgetRolloverFilter(const AcDbFullSubentPath & subEntityPath, AcDbFullSubentPath & highlightPath);

AcEdSSGetFilter
AcEdSSGetFilter3
virtual void ssgetRolloverFilter(const AcDbFullSubentPath & subEntityPath, AcDbFullSubentPathArray & highlightPaths);

AcEdSSGetFilter
AcEdSSGetFilter4
virtual void beginSSGetCustomKeywordCallback(const ACHAR*);

AcEdSSGetFilter
AcEdSSGetFilter4
virtual void endNEntsel(Acad::PromptStatus returnStatus, const AcDbObjectId& pickedEntity, const AcGePoint3d& pickedPoint, ads_point xformres[4], struct resbuf ** refstkres, AcEdSelectionSetService& service);

AcEdSSGetFilter
AcEdSSGetFilter4
virtual void endSSGetCustomKeywordCallback(const ACHAR*);

AcEdSSGetFilter
AcEdSSGetFilter5
virtual void ssgetPreviewFilter(const AcDbFullSubentPathArray& subEntityPaths, AcDbFullSubentPathArray& highlightPaths);

AcGsConfig

virtual bool isHardwareAccelerationAvailable() const = 0;
virtual bool isHardwareAccelerationAvailable() = 0;
AcGsConfig

virtual bool isHardwareAccelerationEnabled() const = 0;
virtual bool isHardwareAccelerationEnabled() = 0;
AcGsConfig

virtual bool isHardwareAccelerationRecommended() const = 0;
virtual bool isHardwareAccelerationRecommended() = 0;
AcGsConfig

virtual bool isNoHardwareOverrideEnabled() const = 0;
virtual bool isNoHardwareOverrideEnabled() = 0;
AcPlPlotConfig

ACPL_PORT bool matchMediaSize(double page_x, double page_y, double printable_w, double printable_h, AcDbLayout::PlotPaperUnits units, bool bIsSheet, int dpi, const ACHAR* pTargetCanonicalName, ACHAR*& pNearestSizeName, ACHAR*& pLocalizedName, double& scaleFactor);
ACPL_PORT virtual bool matchMediaSize(
double page_x,
double page_y,
double printable_w,
double printable_h,
AcDbLayout::PlotPaperUnits units,
bool bIsSheet,
int dpi,
const ACHAR * pTargetCanonicalName,
ACHAR *& pNearestSizeName,
ACHAR *& pLocalizedName,
double & scaleFactor
);
AcPlPlotErrorHandler

ACPL_PORT void getCompanyString(AcString& pCompanyString) const;
ACPL_PORT void getCompanyString(
ACHAR*& pCompanyString
) const;
AcPlPlotErrorHandler

ACPL_PORT void getProductString(AcString& pProductString) const;
ACPL_PORT void getProductString(
ACHAR*& pProductString
) const;
AcPlPlotErrorHandler

ACPL_PORT void getProgramString(AcString& pProgramString) const;
ACPL_PORT void getProgramString(
ACHAR*& pProgramString
) const;
AcPublishUIReactor

virtual void PersistenceRegistryForAutoPublishDialog(const ACHAR* lpszRegRoot, bool bIsReadRegistry);
virtual void PersistenceRegistryForAutoPublishDialog(
const ACHAR* lpszRegRoot,
bool bIsReadRegistry = true
);
AcPublishUIReactor

virtual void PersistenceRegistryForExportOptionsDialog(const ACHAR* lpszRegRoot, bool bIsReadRegistry);
virtual void PersistenceRegistryForExportOptionsDialog(
const ACHAR* lpszRegRoot,
bool bIsReadRegistry = true
);
AcPublishUIReactor
AcPublishUIReactor2
virtual void PersistenceRegistryForPublishOptionsDialog(const ACHAR* lpszRegRoot, bool bIsReadRegistry);
virtual void PersistenceRegistryForPubishOptionsDialog(
const ACHAR* lpszRegRoot,
bool bIsReadRegistry = true
);
AcRxVariable

ACDBCORE2D_PORT Acad::ErrorStatus setValue(const resbuf& value, void* ownerId = NULL, AcString* failReason = NULL, bool disableUndoRecording = false);
ACDBCORE2D_PORT Acad::ErrorStatus setValue(const resbuf& value, void* ownerId = NULL, AcString* failReason = NULL);
AcString

ACBASE_PORT AcString tokenize(const wchar_t* pszTokens, int& iStart) const;
ACBASE_PORT AcString tokenize(const wchar_t* pszTokens, int& iStart);
AcTrayItemBubbleWindowControl

ACAD_PORT AcTrayItemBubbleWindowControl(const CString& strTitle, const CString& strText, const CString& strHyperText = ACRX_T(""), const CString& strHyperLink = ACRX_T(""), const CString& strText2 = ACRX_T(""), const CString& strCheckboxText = ACRX_T(""), bool bIsChecked = false);
ACAD_PORT AcTrayItemBubbleWindowControl(const CString& strTitle, const CString& strText, const CString& strHyperText = ACRX_T(""), const CString& strHyperLink = ACRX_T(""), const CString& strText2 = ACRX_T(""));
CAcExtensionModule

bool Attached() const;
BOOL Attached ();
CAcExtensionModule

bool AttachInstance(HINSTANCE hExtInst);
BOOL AttachInstance (HINSTANCE hInst);
CAcExtensionModule

HINSTANCE DefaultResourceInstance() const;
HINSTANCE DefaultResourceInstance ();
CAcExtensionModule

HINSTANCE ModuleResourceInstance() const;
HINSTANCE ModuleResourceInstance ();
CAcUiTrueColorComboBox

COLORREF getColorByCargo(int cargo);
DWORD getColorByCargo (int cargo);
CAcUiTrueColorComboBox

COLORREF getColorData(AcCmColor color);
DWORD getColorData (AcCmColor color);
CAdUiDockControlBar

void SetToolID(LPCGUID pCLSID);
void SetToolID(CLSID* pCLSID);
CAdUiPathname

static ACHAR GetSeparator();
ACHAR GetSeparator(void) const;
CAdUiPathname

static bool IsDeviceName(const wchar_t *);
inline bool IsDeviceName(const AcString& str) const;
inline bool IsDeviceName(const str) const; inline bool IsDeviceName(const AcString& str) const;
CAdUiPathname

static bool Unquote(AcString&);
static void Unquote(AcString&);
static void Unquote(CString&);
CAdUiPathname

static FS_TYPE GetFileSystem(AcString& vol_name);
FS_TYPE GetFileSystem(AcString& vol_name) const;




Removed ObjectARX API
Class
Declaration
Use Instead

Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter2 * pFilter
);
ACCORE_PORT Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter * pFilter
);

Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter5 * pFilter
);
ACCORE_PORT Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetSubSelectFilter * pFilter
);

Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter4 * pFilter
);
ACCORE_PORT Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetSubSelectFilter * pFilter
);

Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter3 * pFilter
);
ACCORE_PORT Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter * pFilter
);

Acad::ErrorStatus setAllowDuplicateSelection(
AcApDocument * pDoc,
unsigned char flag
);
ACCORE_PORT Acad::ErrorStatus setAllowDuplicateSelection(
AcApDocument * pDoc,
bool flag
);

Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter5 * pFilter
);
ACCORE_PORT Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter * pFilter
);

Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter4 * pFilter
);
ACCORE_PORT Acad::ErrorStatus removeSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter * pFilter
);

Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter * pFilter
);
ACCORE_PORT Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetSubSelectFilter * pFilter
);


class AcPublishUIReactor : public AcRxObject

Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter3 * pFilter
);
ACCORE_PORT Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetSubSelectFilter * pFilter
);

Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetFilter2 * pFilter
);
ACCORE_PORT Acad::ErrorStatus addSSgetFilterInputContextReactor(
AcApDocument * pDoc,
AcEdSSGetSubSelectFilter * pFilter
);
AcApLayoutManager
virtual const ACHAR * findActiveTab();
virtual Acad::ErrorStatus getActiveTab(AcString & sName) = 0;
AcApLayoutManager
virtual ACHAR * getNextNewLayoutName(AcDbDatabase* useDb = nullptr);
virtual Acad::ErrorStatus generateNextNewLayoutName(AcString & sName, AcDbDatabase* useDb = nullptr) = 0;
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setPenIndex(RGBM* rgbm, Adesk::UInt16 penIndex);

AcCmEntityColor
static Acad::ErrorStatus setRed(RGBM* rgbm, Adesk::UInt8 red);
Acad::ErrorStatus setRed(Adesk::UInt8 red);
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setLayerIndex(RGBM* rgbm, Adesk::Int32 layerIndex);
Acad::ErrorStatus setLayerIndex(Adesk::Int32 layerIndex);
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setColorMethod(RGBM* rgbm, ColorMethod eColorMethod);
Acad::ErrorStatus setColorMethod(ColorMethod eColorMethod);
AcCmEntityColor
static Acad::ErrorStatus setGreen(RGBM* rgbm, Adesk::UInt8 green);
Acad::ErrorStatus setGreen(Adesk::UInt8 green);
AcCmEntityColor
static Adesk::UInt32 trueColor(const RGBM* rgbm);
Adesk::UInt32 trueColor() const;
AcCmEntityColor
const Adesk::UInt8 mLUT[256][3];

AcCmEntityColor
static Acad::ErrorStatus setTrueColorMethod(RGBM* rgbm);
Acad::ErrorStatus setTrueColorMethod();
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setRGB(RGBM* rgbm, Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
Acad::ErrorStatus setRGB(Adesk::UInt8 red, Adesk::UInt8 green, Adesk::UInt8 blue);
AcCmEntityColor
static Acad::ErrorStatus setTrueColor(RGBM* rgbm);
Acad::ErrorStatus setTrueColor();
AcCmEntityColor
static bool isByBlock(const RGBM* rgbm);
bool isByBlock() const;
AcCmEntityColor
static bool isByACI(const RGBM* rgbm);
bool isByACI() const;
AcCmEntityColor
static bool isByColor(const RGBM* rgbm);
bool isByColor() const;
AcCmEntityColor
static bool isByPen(const RGBM* rgbm);

AcCmEntityColor
static bool isByLayer(const RGBM* rgbm);
bool isByLayer() const;
AcCmEntityColor
static Adesk::UInt32 color(const RGBM* rgbm);
Adesk::UInt32 color() const;
AcCmEntityColor
static Adesk::UInt8 blue(const RGBM* rgbm);
Adesk::UInt8 blue() const;
AcCmEntityColor
static ACDBCORE2D_PORT Adesk::Int16 colorIndex(const RGBM* rgbm);
Adesk::Int16 colorIndex() const;
AcCmEntityColor
static Adesk::UInt8 green(const RGBM* rgbm);
Adesk::UInt8 green() const;
AcCmEntityColor
static ColorMethod colorMethod(const RGBM* rgbm);

AcCmEntityColor
static bool isForeground(const RGBM* rgbm);
bool isForeground() const;
AcCmEntityColor
union RGBM {
Adesk::UInt32 whole;
Adesk::Int16 indirect;
struct {
Adesk::UInt8 blue,
green,
red,
colorMethod;
} mdata;
Adesk::Int32 mnIndirect32;
Adesk::Int32 indirect24() const;
};

AcCmEntityColor
static Adesk::UInt8 red(const RGBM* rgbm);
Adesk::UInt8 red() const;
AcCmEntityColor
static Acad::ErrorStatus setBlue(RGBM* rgbm, Adesk::UInt8 blue);
Acad::ErrorStatus setBlue(Adesk::UInt8 blue);
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setColorIndex(RGBM* rgbm, Adesk::Int16 colorIndex);
Acad::ErrorStatus setColorIndex(Adesk::Int16 colorIndex);
AcCmEntityColor
static ACDBCORE2D_PORT Acad::ErrorStatus setColor(RGBM* rgbm, Adesk::UInt32 color);
Acad::ErrorStatus setColor(Adesk::UInt32 color);
AcCmEntityColor
static bool isLayerOff(const RGBM* rgbm);

AcCmEntityColor
static bool isLayerFrozen(const RGBM* rgbm);

AcCmEntityColor
static bool isNone(const RGBM* rgbm);

AcCmEntityColor
static Adesk::UInt16 penIndex(const RGBM* rgbm);

AcCmEntityColor
static Adesk::Int32 layerIndex(const RGBM* rgbm);

AcDbField
ACDBCORE2D_PORT Acad::ErrorStatus getHyperlink(ACHAR** pszName, ACHAR** pszDescription, ACHAR** pszSubLocation, ACHAR** pszDisplayString, Adesk::Int32* pFlag) const;
ACDBCORE2D_PORT Acad::ErrorStatus getHyperlink(AcString * psName, AcString * psDescription, AcString * psSubLocation, AcString * psDisplayString, Adesk::Int32* pFlag) const;
AcDbHostApplicationServices
template <size_t nDevLen, size_t nStyleLen> bool getDefaultPlotCfgInfo(ACHAR (&devName)[nDevLen], ACHAR (&styleName)[nStyleLen]);
virtual ACDBCORE2D_PORT void getDefaultPlotCfgInfo(AcString& devName, AcString& styleName);
AcDbHostApplicationServices
virtual ACDBCORE2D_PORT bool getDefaultPlotCfgInfo(ACHAR * plotDeviceName, size_t nDevNameLen, ACHAR * plotStyleName, size_t nStyleNameLen);
virtual ACDBCORE2D_PORT void getDefaultPlotCfgInfo(AcString& devName, AcString& styleName);
AcEditorReactor
virtual ADESK_DEPRECATED void beginClose(AcDbDatabase*);
virtual void docCloseWillStart(AcDbDatabase*);
AcEdSSGetFilter5
class AcEdSSGetFilter5 : public AcEdSSGetFilter;
class AcEdSSGetFilter : public AcEdInputContextReactor;
AcPlPlotConfig
virtual ACPL_PORT Acad::ErrorStatus makeCustomMediaFromSizeDesc(
HT_Media_Size * pSize,
HT_Media_Description * pDesc,
bool bSameDriver,
bool bSavePC3,
const ACHAR * pSourceEntry,
const ACHAR * pSourceName,
ACHAR *& pCanonicalSizeName,
ACHAR *& pLocalizedSizeName,
ACHAR *& pPMPPath,
ACHAR *& pPC3Path,
int dpi,
double & scaleFactor
);

AcPlPlotConfig
virtual ACPL_PORT unsigned long isCustomPossible(
double width,
double height,
bool bIsDimensional,
bool bIsSheet,
int dpi,
const ACHAR * pPC3Dir
) const;

AcPlPlotConfig
virtual ACPL_PORT HT_Plot_Config* plotConfig() const;

AcPlPlotConfigManager
virtual HT_Thin_Plot_Config_Manager* thinPltCfgMgr();

AcPlPlotConfigManager
virtual HT_Error_Handler* errorHandler();

AcPlPlotConfigManager
virtual HT_Error_Handler* acadErrorHandler();

AcString
ACBASE_PORT int findOneOf(
const ACHAR * psz
) const;
ACBASE_PORT int findOneOf(
const ACHAR * psz,
int nStartPos = 0
) const;
AcString
ACBASE_PORT int find(
const ACHAR * psz
) const;
ACBASE_PORT int find(
const ACHAR * psz,
int nStartPos = 0
) const;
CAcUiDialogBar
~CAcUiDialogBar ();

CAcUiDialogBar
void DoDataExchange(CDataExchange* pDX) override;

CAcUiDialogBar
CAcUiDialogBar ();

CAcUiDialogBar
LPCTSTR AppRootKey () override;

CAcUiDialogBar
class ACUI_PORT CAcUiDialogBar : public CAdUiDialogBar {
}

CAcUiDialogBar
CWnd *AppMainWindow () override;

CAcUiDialogBar
HINSTANCE AppResourceInstance () override;

CAdUiPathname
ADESK_DEPRECATED bool Open(FILE** fdp, const ACHAR * openmode);





Changed Enum
Declaration
Previous Declaration
enum {
BUBBLE_WINDOW_ERROR_NO_CREATE,
BUBBLE_WINDOW_ERROR_NO_ICONS,
BUBBLE_WINDOW_ERROR_NO_NOTIFICATIONS,
BUBBLE_WINDOW_CLOSE,
BUBBLE_WINDOW_TIME_OUT,
BUBBLE_WINDOW_HYPERLINK_CLICK,
BUBBLE_WINDOW_HYPERLINK_CLICK_CHECKED,
BUBBLE_WINDOW_DOCUMENT_DEACTIVATED
};
enum {
BUBBLE_WINDOW_ERROR_NO_CREATE,
BUBBLE_WINDOW_ERROR_NO_ICONS,
BUBBLE_WINDOW_ERROR_NO_NOTIFICATIONS,
BUBBLE_WINDOW_CLOSE,
BUBBLE_WINDOW_TIME_OUT,
BUBBLE_WINDOW_HYPERLINK_CLICK,
BUBBLE_WINDOW_DOCUMENT_DEACTIVATED
};








论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 9个

财富等级: 恭喜发财

发表于 2020-3-29 22:23:19 | 显示全部楼层
全英文,看不懂哦
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-12-4 16:44 , Processed in 0.420291 second(s), 29 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表