Skip to Main Content
Autodesk
Status For Review
Product InfoWorks ICM
Categories Productivity
Created by Anthony Andrews
Created on Feb 1, 2026

InfoAsset Manager - Create Ruby Method for Expand Selection

Although not available in InfoWorks ICM the Expand Selection tool in InfoAsset Manager is EXTREMELY useful. This is because there are many InfoAsset Object types associated, connected and components of each other. The ability to create and establish relationships between object types is a MASSIVE value proposition for InfoAsset Manager users. Being able to simply select assets and then expand the selection to include other connected objects like inspections and repairs and then query them is INCREDIBLY useful and powerful to a user. This ability to 'move' between objects because of the built in relationships is available throughout the UI - see property sheets, property object panel, SQL, data grids etc. HOWEVER our Ruby scripting does not support this capability. This results in having to write overly complex Ruby scripts to enable selections of other objects only via creating a join using the asset ids. This is overly complicated. For example, if I want to select all customer properties (cams_property) that are connected to a connection pipe (cams_connection_pipe), the Ruby script needs to know to check for the Property ID value in the cams_connection_pipe.property_id field and then query the cams_property.property_id field for that value and then select that cams_property. If there was a Ruby method expand_selection I would not be required to hard code that workflow.
The parameters for the expand_selection would be the available feature objects to expand selection to. So if a cams_connection_pipe is selected then the expand_selection options would be to select from:
Asset>connection node, and node
Survey> CCTV Survey, dye test, flow survey, general survey, general survey line, smoke test, water quality survey
Repair> general maintenance, pipe clean, pipe repair
Zone/Area> property, work package
Incident> blockage, collapse, customer complaint, flooding general, odour, pollution

  • Attach files
  • Robert Dickinson
    Feb 4, 2026

    good idea - A proposed expand_selection method would simplify this by allowing direct expansion to related feature types (e.g., connection nodes, CCTV surveys, repairs, properties, incidents, etc.) without hard-coding joins.