Results 1 to 2 of 2

Thread: API - How to access the selected objects?

  1. #1
    Member
    Join Date
    2010-03
    Location
    Porto
    Posts
    18
    Login to Give a bone
    0

    Question API - How to access the selected objects?

    In API how can I know which objects are selected in RSA?

  2. #2
    Member
    Join Date
    2009-10
    Posts
    15
    Login to Give a bone
    0

    Default Re: API - How to access the selected objects?

    You can use
    RobApp.Project.Structure.Selections.Get(obj_type)
    to get current selection of objects of given type.
    The obj_type is a value from IRobotObjectType enumeration, e.g. I_OT_NODE, I_OT_BAR, I_OT_PANEL, etc.

Similar Threads

  1. Setting X to selected objects
    By mbrandt5 in forum AutoLISP
    Replies: 4
    Last Post: 2015-08-13, 02:09 PM
  2. "Nothing Selected" message when Objects are Selected
    By mark.81576 in forum AutoCAD General
    Replies: 4
    Last Post: 2007-04-13, 05:00 PM
  3. Objects become dashed when selected
    By finney13 in forum AutoCAD General
    Replies: 9
    Last Post: 2006-07-19, 07:25 PM
  4. Objects not regenerated / selected.
    By nata_hs in forum AutoCAD General
    Replies: 1
    Last Post: 2004-12-30, 01:02 PM
  5. Permanently hiding selected objects (not objects-by-category)
    By cjneedham in forum Revit Architecture - Wish List
    Replies: 2
    Last Post: 2004-06-28, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •