Thank you EF. I am trying to create stubs for Dynamo Nodes, since I have a complex task in my script that I'd like to use ProtoGeometry, since I am using the pyrevit-stubs-builder.exe commandline utility but it doesn't seem to work generating the stubs content for RevitNodes.dll
Check this GitHub repository that has some Dynamo stubs included as well. I believe it's from Revit API 2019, but many things will still work. You can also explore the repo and you will find python files that generate these stubs. github.com/gtalarico/ironpython-stubs/tree/master/release/stubs.min
I have a question that is not related to this video, but i hope you can help me. Is there a way to get the size of the schedule placed on the sheet, but after it is filtered by sheet, because it will probably be shorter than original. Bounding box returns size of full schedule. I also tried su commit subtransaction after placing it, but still, it does not work. Thanks in advance
I haven't tried to check schedule sizes on the sheet but I remember that regular views give you different results if you get CropBox or Outline. Maybe you can find something similar for schedules or if you can calculate the width of each column. Then you would be able to sum it up to get your dimensions. let me know if you will find a solution to that
Good morning. Thanks for the explanation. In my case I do not have the "pyrevitlib" folder, how could I generate it...??? c:\user\Lenny 16\AppData\Roaming\pyRevit-Master\pyrevitlib
This folder comes with pyRevit when you install it. Ocassionaly it can be found in program files folder. Check this link to see possible paths: pyrevitlabs.notion.site/Distribution-Model-ada60c78ba04466487f16d248b519ba0
Hi Erik, I did the eth-cam.com/video/gbFC5rJArXI/w-d-xo.htmlsi=n2xYOkfUMQM0nR4BHi Erik, I also had the same issue with Revit APi autocomplete but this one works.
Thank you EF. I am trying to create stubs for Dynamo Nodes, since I have a complex task in my script that I'd like to use ProtoGeometry, since I am using the pyrevit-stubs-builder.exe commandline utility but it doesn't seem to work generating the stubs content for RevitNodes.dll
Check this GitHub repository that has some Dynamo stubs included as well.
I believe it's from Revit API 2019, but many things will still work. You can also explore the repo and you will find python files that generate these stubs.
github.com/gtalarico/ironpython-stubs/tree/master/release/stubs.min
@@ErikFrits thank you, I'll give it a try
I have a question that is not related to this video, but i hope you can help me. Is there a way to get the size of the schedule placed on the sheet, but after it is filtered by sheet, because it will probably be shorter than original. Bounding box returns size of full schedule. I also tried su commit subtransaction after placing it, but still, it does not work. Thanks in advance
I haven't tried to check schedule sizes on the sheet but I remember that regular views give you different results if you get CropBox or Outline.
Maybe you can find something similar for schedules or if you can calculate the width of each column. Then you would be able to sum it up to get your dimensions.
let me know if you will find a solution to that
Good morning.
Thanks for the explanation.
In my case I do not have the "pyrevitlib" folder, how could I generate it...???
c:\user\Lenny 16\AppData\Roaming\pyRevit-Master\pyrevitlib
This folder comes with pyRevit when you install it. Ocassionaly it can be found in program files folder.
Check this link to see possible paths:
pyrevitlabs.notion.site/Distribution-Model-ada60c78ba04466487f16d248b519ba0
Hi Erik, I did the eth-cam.com/video/gbFC5rJArXI/w-d-xo.htmlsi=n2xYOkfUMQM0nR4BHi Erik, I also had the same issue with Revit APi autocomplete but this one works.