CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-02-2012, 09:09 AM
ngiacom ngiacom is offline
Registered User
 
Join Date: Feb 2012
Location: Bologna, Italy
Posts: 3
How to get current selected objects in session

I would like to get all the current parts or assembly selected (Highlighted). I tried the get_selection function but it doesn't GET the current selection, I think that it SETs the selection. Is there a real GET method?

(display (FRAME2::getres (get_selection :focus_type oli:*sd-part-seltype* :select))) always returns nil

Thankyou
Reply With Quote
  #2  
Old 02-26-2015, 01:07 AM
lix b lix b is offline
Registered User
 
Join Date: Feb 2015
Posts: 1
Re: How to get current selected objects in session

This Thread is a few years old, but maybe someone can use this solution in the future.

Try

(get-matching-preselected-objects)

Greets
Felix
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:28 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.