PDA

View Full Version : clash_3d output?


coroto
11-07-2005, 12:31 PM
I'm interested in writing a utility which adds functionality to the existing clash_3d command in OSDM.

Any ideas on how, when calling it using sd-call-cmds from a dialog, to capture the output box messages for further processing? Or some other way to retrieve information on the calculated clashes and/or clearances which were calculated?

What I'd like to do, is do a clearance check and have my code be able to access the list of part pairs which fall below the minimum specified clearance.

TIA for any helpful suggestions!

dorothea
11-08-2005, 12:02 AM
Hallo,

With following piece of code you can get the clash result:

(sd-call-cmds (clash_3d
:analysis_type :clash
:pa_list_vs_pa_list
:first_list <part list1>
:second_list <part list2>
:clash_return_results :on
)
:success (display *sd-action-result*)
)


The command 'display' is only to see what is returned from the clash_3d dialog - for visual checking. You can specify any of the options available in the clash_3d dialog.

Dorothea