Hi all, I'm working on a script that operates with pointPosition and I'm trying to figure out how to query if any applicable selection is made - such as verts, CVs, etc.
Is there some command I'm missing?
Try This code ...
Create a curve and select a vertix then run this and check it
CODEglobal proc test_here() { string $get_select[]=ls -sl; for ($get_select_nw in $get_select) { float $get_glob[]=pointPosition $get\_select\_nw; print "Global Selection Value\n"; print ($get_glob); print "\n"; float $get_loc[]=pointPosition -l $get\_select\_nw; print "Local Selection Value\n"; print ($get_loc); print "\n"; } } test_here;
ls -sl
pointPosition $get\_select\_nw
pointPosition -l $get\_select\_nw