lasse
January 12, 2023, 11:06am
1
Hello! I have googled far and wide with no success on this.
So i need to do the following
Open revit (for now i open a .rvt template scene which works)
Using python script, load/insert a .sat file into the scene
Save all of this as a .rvt file
I have tried with dynamo and that works but i need it to be python and im not sure how to do it Only progress for python i have is printing stuff
Any help greatly appreciated!
PS Im using Revit Batch Processor
Hi, @lasse
Look into Element.GeometryFast from great Synthesize package.
lasse
January 12, 2023, 11:17am
3
Hello Vladimir!
Is this a package that i can just install into the .rvt template file i am using and after that i would be able to use the function you mentioned?
Also, is there no build in functionality to import .sat files with python?
Just open this node in Dynamo for edit. Python is there.
lasse
January 12, 2023, 12:16pm
5
Thanks for your answer
My goal is to run everything through Command prompt and not open dynamo.
However, i see that Revit Batch Processor can load dynamo files so i will try with creating a dynamo file that loads my .sat file into the scene and then just run that on startup
Thanks!
@lasse , you can get Python code once, analyze it, modify. Add to your project. Just do not forget to leave copyright untouched.
1 Like
Ramyaa
February 17, 2023, 9:03am
7
Hi,
Iām completly new to Revit and Iām also trying to do the save procedure for .rfa file, can you guide me how you did it in with Dynamo/Python.
lasse
February 17, 2023, 9:38am
8
For automating this process i used this tool: bvn-architecture/RevitBatchProcessor: Fully automated batch processing of Revit files with your own Python or Dynamo task scripts! (github.com)
Its just to install the exe and then run it
For the script i chose dynamo since it was easier to learn quickly and this is how it looks:
You will need some packages installed and they are shown on the left screen. Good luck!
Ramyaa
February 17, 2023, 11:08am
10
Seems you have used .dwg file to import. Iām using .sat file any idea on that?
Ramyaa
February 17, 2023, 11:11am
11
Thanks Brendan, this is to be used in Python right?
yes you will have to utilise this method within python with all the other coding to make it work if requried.