|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
|||
|
|||
Highlight a list of selected parts in LISP
I've a LISP that terminates by a list of parts I would like to highlight. Does somebody know how to use HIGHLIGHT_ELEMENT, or something else, please.
|
#2
|
||||
|
||||
Re: Highlight a list of selected parts in LISP
|
#3
|
|||
|
|||
Re: Highlight a list of selected parts in LISP
Thanks a lot Jaap
|
#4
|
|||
|
|||
Re: Highlight a list of selected parts in LISP
Hello,
I learned about preselect, but I've been unable to manage a list of parts. How did you highlight a list of models please? Could you explain a fragment of code about? |
#5
|
||||
|
||||
Re: Highlight a list of selected parts in LISP
Hi,
maybe this example helps: Code:
(in-package :JAAPS_TOOLS) (use-package :OLI) (sd-defdialog 'Highlight_parts :dialog-title "Highlight parts" :toolbox-button t :variables '( (items :selection (*sd-part-seltype* *sd-assembly-seltype*) :multiple-items t :modifies :nil :title "Parts/Assemblies 1" ) (items2 :selection (*sd-part-seltype* *sd-assembly-seltype*) :multiple-items t :modifies :nil :title "Parts/Assemblies 2" ) ) :local-functions '( (doit() (preselect items :interactive) );doit ) :ok-action '(doit) ) Code:
(preselect items :interactive) Regards, Jaap |
#6
|
|||
|
|||
Re: Highlight a list of selected parts in LISP
Thanks Jaap. This seems to work associated to a dialog variable.
Finally, I used (get_selection :focus_type *sd-edge-3d-seltype* :select :in_part element) To highlight <element>'s edges in a recursive function to proceed with an <elements>'s list. |
Tags |
modeling lisp highlight |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|