I’m trying to figure out if the above subject would be possible to do in Dynamo. But after looking into it, I’ve been struggling to find a node that can change/swap the current site.
It’s these sites I would like to be able to swap using dynamo, and then swap back again after an IFC export:
Hi I had a script with similar workflow, it ask the user to choose the Shared site to export after opening a detached copy of the model so the actuall model stays unchanged, hope the swapping site part can help you build your script. Good luck… Export-NWC-IFC&DWFX.dyn (132.1 KB) Navis_DWFX_IFC-Export-W-SharedSite.dyf (88.5 KB)
Hi this is an internal package and i can’t share it with you but I am sure you will find similar node in other packages. Currently I don’t have my laptop to quickly find one.
I think it was done using ProjectLocationSet Class by iterating each project location on the document.
I tried to use the (Get Project Location) node from GeniusLoci Package but it just gets the Active Current location not all Locations, is there another node to get all Locations or to get all Project Base Point from linked files
Hi @Khalid.fekry try take a look on this post here, but i guess you only can get one at time …so a workaround with genius loci node is set the location and export one by one…
Thank You @saju_autodesk, but we are still having issues getting all the Information and coordinates for the list of project locations, it still just gets the coordinates for the current Location
Hi @saju_autodesk Thank you, I tried to do that to get Project Base Point properties, is there a way to get the same value of Project Base Point from the ( Get Project Location ) node
Hi, I tried to get all site locations in the same Revit file by Previous Python code after convert to mm and by the Get project locations node
but notice that the coordinates from the Get project locations node match with the Revit file and from the Python code only the angle match with the Revit file and the E/w,N/S, and Elevation have Slight differences and do not match
can you help with this Issue