Obtaining an ActiveX Property with vlax-get-property
 
 
 

The vlax-get-property function returns the property of an object. The function requires the following arguments:

For example, there is no wrapper function available to obtain the CommandBars property of an Microsoft Word application object, but the following command achieves this:

_$ (setq ComBars (vlax-get-property
msw 'CommandBars))
#<VLA-OBJECT CommandBars 0016763c>

You can use vlax-get-property (and vlax-invoke-method and vlax-put-property) even if a wrapper function is available for the task. For example, the following returns the AutoCAD's ActiveDocument property:

_$ (vlax-get-property
acadObject 'ActiveDocument)
#<VLA-OBJECT IAcadDocument 00302a18>

In this instance, you could have instead used vla-get-ActiveDocument to obtain the ActiveDocument property.


500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.