PickObject method doesn't work in debug mode

PickObject method doesn't work in debug mode

spinner95
Participant Participant
233 Views
1 Reply
Message 1 of 2

PickObject method doesn't work in debug mode

spinner95
Participant
Participant

Hi there. I need your help.
Does anybody know why Revit doesn't allow to select element when debugging process reaches PickObject method line. Thank you in advance!

1000043923.png

0 Likes
Accepted solutions (1)
234 Views
1 Reply
Reply (1)
Message 2 of 2

rcrdzmmrmnn
Advocate
Advocate
Accepted solution

You need to step to the next line in order to trigger revit UI for picking object, if you are in line 23 the code in this line is not executed yet

0 Likes