public void Terminate() { // Remove the Dynamic Property Dictionary classDict = SystemObjects.ClassDictionary; RXClass lineDesc = (RXClass)classDict.At("AcDbLine"); IPropertyManager2 pPropMan = (IPropertyManager2)xOPM.xGET_OPMPROPERTY_MANAGER(lineDesc); pPropMan.RemoveProperty((object)custProp); custProp = null; }
public void Initialize() { Assembly.LoadFrom("asdkOPMNetExt.dll"); // Add the Dynamic Property Dictionary classDict = SystemObjects.ClassDictionary; RXClass lineDesc = (RXClass)classDict.At("AcDbLine"); IPropertyManager2 pPropMan = (IPropertyManager2)xOPM.xGET_OPMPROPERTY_MANAGER(lineDesc); custProp = new CustomProp(); pPropMan.AddProperty((object)custProp); }
public void Terminate () { // Remove the Dynamic Property Dictionary classDict =SystemObjects.ClassDictionary; RXClass lineDesc =(RXClass)classDict.At("AcDbLine"); IPropertyManager2 pPropMan =(IPropertyManager2)xOPM.xGET_OPMPROPERTY_MANAGER(lineDesc); pPropMan.RemoveProperty((object)custProp); custProp =null; }
public void Initialize () { Assembly.LoadFrom("asdkOPMNetExt.dll"); // Add the Dynamic Property Dictionary classDict =SystemObjects.ClassDictionary; RXClass lineDesc =(RXClass)classDict.At("AcDbLine"); IPropertyManager2 pPropMan =(IPropertyManager2)xOPM.xGET_OPMPROPERTY_MANAGER(lineDesc); custProp =new CustomProp(); pPropMan.AddProperty((object)custProp); }