| LoadARX 方法 (ActiveX) 加载指定的 ObjectARX 应用程序。 支持的平台:仅限 Windows 返回值 (RetVal)无返回值。 言论没有其他评论。 例子VBA: Sub Example_LoadARX()
    ' This example loads an ObjectARX application.
    
    ' Note: The application listed here does not exist and
    ' will cause an error when run. Change the application name
    ' to the path and name of your ObjectARX application.
    ThisDrawing.Application.LoadArx "MyARXApp.arx"
        
End Sub可视化 LISP: (vl-load-com)
(defun c:Example_LoadARX()
    ;; This example loads an ObjectARX application.
    (setq acadObj (vlax-get-acad-object))
    
    ;; Note: The application listed here does not exist and
    ;; will cause an error when run. Change the application name
    ;; to the path and name of your ObjectARX application.
    (vla-LoadArx acadObj "MyARXApp.arx")
) | 
 |Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
GMT+8, 2025-10-31 06:51
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.