Can someone please teach me or point me to the right direction on how to create spaces using spaces of a link model? Is there an updated packages that contains the needed nodes or article? Because I have checked some articles and it’s already years ago and when I search for the node, it is not existing or not properly working.
These are just samples of articles that I found and I think it’s outdated or I am just really dumb in dynamo:
HI!! im hoping someone can help me! Im trying to create Spaces from a link model and tag them.
But i have no idea what im doing wrong. My Spaces schedule shows spaces being created but i dont know where and its not tagging them. At the same time the SPACE.BYPOINT keeps giving me an error!
In the get views i changed the node to String.Contains instead of begins with
If I understand it from the posting title you want to create spaces based on rooms in the linked model, but then in your opening post you talk about creating spaces from spaces.
If you posting title is accurate and you want to make spaces from rooms in the linked model you don’t need to develop any additional tools!
Try Analyze, Spaces, place Automatically. Then in the same ribbon use SPACE NAMING to set space names and numbers based on the corresponding rooms.
Yes you will need to to transform your coordinates as your models dont share origin…try this one here from Bimorph for get your link rooms location it should help in your case…
I tried it with the CODEBLOCK, but it gave me an error, so I used the CATEGORIES.
But i noticed two things
The LINKS node tells me that the linked file is not sharing location.
The LINKELEMENT.LOCATION gives me the following warning note
Warning: Invalid operation exception: The location of the internal element is not a valid curve or point.
PS.the project was created by the architects, and is a BIM360 collaboration file with them and two other companies, can i setup my file to share the origin without affecting them?
I’ve just released a new version of Crumple which has a node that can generate the transform needed, try this workflow below. I’ve included the Python code it uses for reference - it’s quite simple (for a Python script.
# Made by Gavin Crump
# Free for use
# BIM Guru, www.bimguru.com.au
# Boilerplate text
import clr
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import RevitLinkInstance
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
# Get link transform
link_instance = UnwrapElement(IN[0])
link_transform = link_instance.GetTotalTransform().ToCoordinateSystem(True)
# Preparing output to Dynamo
OUT = link_transform
For a brief second last night the blue dots where in the correct location, but today when I opened the file to keep working they are once again in the wrong location.