Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've got a short program that works in the Revit Python Shell. I'd like to run it from the Sharp Develop editor in Revit.
The problem is, I'm not sure how to set up or access some of the variables like "uidoc".
For example, in RPS, I have the following line:
picked = uidoc.Selection.PickObject(ObjetType.Element)
But I can't get this to work with Sharp Develop. I can't figure out how to set up "uidoc". I've tried studying the examples provided with Sharp Develop, but I can't quite follow them.
Can anyone explan the basics of how to get variables like "app" , "doc", and "uidoc" to work with Sharp Develop? Or is there anything that explains this?
Thanks:
Steve
Solved! Go to Solution.