Current schedule row?

Current schedule row?

Anonymous
837 Views
4 Replies
Message 1 of 5

Current schedule row?

Anonymous
Not applicable

Is there any way to get the currently active or selected row for a schedule? More specifically, what about for a panel schedule?

 

I would like the user to be able to make a field in a row active on a panel schedule, then press a button and be able to do something to the circuit they selected.

 

Using the ActiveView I can get the panel name, but I can't figure out if I can get the row.

Accepted solutions (1)
838 Views
4 Replies
Replies (4)
Message 2 of 5

Aaron.Lu
Autodesk
Autodesk
Accepted solution
Dear david,

I believe there is no such API, new wish is filed:
CF-3867 - API ability to get the currently active or selected row for a schedule


Aaron Lu
Developer Technical Services
Autodesk Developer Network
Message 3 of 5

Anonymous
Not applicable

I'm pretty sure the currently active row in the schedule appears in the UIDocument Selection object.

Message 4 of 5

David_Robison
Advocate
Advocate

You're right--good tip. I ran a few tests, and UIDocument.Selection returns the elements that correspond to the currently selected schedule row.

 

I tested a standard schedule of ElectricalEquipment. The UIDocument.Selection list contained a single element with the ElectricalEquipment for the currently selected row.

 

I tested a panel schedule with a circuit selected. The UIDocument.Selection list contained more items. It appeared to have the ElectricalSystem and all the connected FamilyInstances in it.

Message 5 of 5

Anonymous
Not applicable
Great, glad it helped.
And thanks for the Kudos!

Eric Rudisaile | Solutions Specialist | MEP

MICRODESK, INC.
main: 800.336.3375
www.microdesk.com
facebook | twitter | linkedin | youtube

Vision. Tools. Talent.
Perfecting project delivery for over 20 years. Learn More