IAcSmObjectReference


The Sheet ObjectId interface (reference to IAcSmPersist object).

available methods :

(setq cad (vlax-get-acad-object))
(setq doc (vla-get-ActiveDocument cad))
(setq ssmgr (vla-GetInterfaceObject cad "BricscadSm.AcSmSheetSetMgr"))
(setq smdb (vlax-invoke-method ssmgr 'OpenDatabase dstfile))
(setq smObjectId (vlax-invoke-method smdb 'GetObjectId))

SetReferencedObject

defines which IAcSmPersist object should be referenced

(vlax-invoke-method objectRef 'SetReferencedObject persObj)

HRESULT SetReferencedObject ([in] IAcSmPersist* pObject)

GetReferencedObject

returns the referenced IAcSmPersist object

(setq flag (vlax-invoke-method objectRef 'GetReferencedObject))

HRESULT GetReferencedObject ([out, retval] IAcSmPersist** ppObject)

GetReferenceFlags

returns the flag defining the kind of reference to be used by this object

(setq flag (vlax-invoke-method objectRef 'GetReferenceFlags))

HRESULT GetReferenceFlags ([out, retval] AcSmObjectReferenceFlags* value)

SetReferenceFlags

assigns the flag defining the kind of reference to be used by this object

(vlax-invoke-method objectRef 'SetReferenceFlags 1)

HRESULT SetReferenceFlags ([in] AcSmObjectReferenceFlags value)



©  Bricsys NV. All rights reserved.