Object to acquire information from linked file

Object to acquire information from linked file

eriktoom
Advocate Advocate
301 Views
4 Replies
Message 1 of 5

Object to acquire information from linked file

eriktoom
Advocate
Advocate

Hey there! 

 

This one is going to be hard to explain but let's give it a try though 🤔

 

I attach here 2 files - architectural link file and an actual project file where the architectural file is linked into. 

 

In linked file there are multiple ''rectangular shaped'' areas that are each named by certain codename (GRE-101 and GRE-102). 

eriktoom_0-1695724694516.png

Now when linking this file to my project file and inserting objects (that each has a shared parameter named KM RE) I would like those objects to acquire the same so called codename depending on which area the object is placed to. Right now I am doing it manually by selecting all the objects and write down where they belong. Just wondering if it could be done automatically so that each time I insert a new object it acquires the right value. 

 

eriktoom_1-1695727527912.png

 

Hopefully somebody understands what I was thinking. 

 

 

0 Likes
302 Views
4 Replies
Replies (4)
Message 2 of 5

iainsavage
Mentor
Mentor

Your architectural file has a handful of walls, a floor and a couple of generic annotations.

Your project model has four electrical devices.

Is that the full extent of it?

If that's all there is then its probably not worth the effort trying to automate the process.

If you do want to automate it then I think you probably want to create Rooms or Spaces and then use Dynamo to determine which room/space each object occupies.

0 Likes
Message 3 of 5

eriktoom
Advocate
Advocate

This is just an example architectural file. I am talking about 2 to 7 storey apartment houses which contain thousands of electrical devices. Just created those files to get the idea what I am talking about. No need to attach the actual projects I think. 

0 Likes
Message 4 of 5

iainsavage
Mentor
Mentor

That's what I thought.

I think the architectural file should contain rooms or spaces and the Generic Annotations should be substituted with room/space tags rather than just having generic annotations dotted around the plans. That would make the tags interactive and consistent in different views rather than just having dumb text.

Then, as I said earlier, you can use Dynamo to determine (by coordinates) which room/space the electrical devices coincide with and then pass the room/space name/number value to a shared parameter in your devices.

Having said that though I'm not adept enough to write a script for that but I'm sure that similar questions have been asked before and scripts have been provided by other forum users.

0 Likes
Message 5 of 5

iainsavage
Mentor
Mentor

Actually I just remembered that you can capture room/space information for devices in a schedule without using Dynamo:

iainsavage_1-1695733151451.png

but I'm not sure how to transfer this to your KM-RE parameter - anyone else help?

0 Likes