Anyone know the replacement for the following property:
Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey
Thanks
J.
Solved! Go to Solution.
Solved by _gile. Go to Solution.
Hi,
Have a look at the ObjectARX 2013\Docs\arxmgd.chm file: Migration Guide > .NET Migration Guide > Changed .NET API:
Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.UserRegistryProductRootKey
or
Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.MachineRegistryProductRootKey
Really?
Because all I see in that section of the Docs is ...
Class | Declaration | Previous Declaration |
AssocPersSubentityId | public static void CreateObjectAndDwgInFields(Database database, DwgFiler filer, ref AssocPersSubentityId createdPersSubentId); | static Acad::ErrorStatus createObjectAndDwgInFields(AcDbDwgFiler* pFiler, AcDbAssocPersSubentId*& pCreatedPersSubentId); |
SymbolUtilityServices | public static string PreValidateSymbolName(string symbolName, [MarshalAs(UnmanagedType.U1)] bool preserveCase); | public static string PreValidateSymbolName([MarshalAs(UnmanagedType.U1)] bool preserveCase); |
View | public Extents2d ViewportExtents; | public Extents2d ViewportD; |
You're looking in the Changed function list. Look in the Removed function list (which documents the functions to use instead).
Ah, yes I did. I followed "Migration Guide > .NET Migration Guide > Changed .NET API:" from above.
Thanks.