ObjectDCL Banner

InsertOrXref Property

Description

When the user Drag'n Drops from the DwgList control to AutoCAD, this setting specifies wether to Insert or Xref the file.

Type

This property is a boolean. Set to T to insert or Nil to cross reference.

Applies For

DwgList.

Invoking From Old API

Can be passed as "InsertOrXref" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetInsertOrXref MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetInsertOrXref "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetInsertOrXref MyProject_MyForm_MyControl T)

(Odcl_Control_SetInsertOrXref "MyProject" "MyForm" "MyControl" Nil)