Design forum
cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

Instanced hotlinked module element ID's

Kaspars
Participant

Hi,

I would like to hotlink some part of building (e.g. WC room walls in hospital) and multiple it many times, so if some changes in the module should be made, that would be easy.

But the problem is - the door opening ID's should be individual in All the building, regardless the doors are the same type or not. So their number in my project are driven by storey number combined with number manually written in Archicad Doors ID field. As far as I know it is impossible to change ID's of hotlinked element instances. So no hotlinks for me πŸ˜• 

I wonder, is there a solution to this?

 

Kaspars

10 REPLIES 10

Erwin Edel
Mentor

You might be able to assemble a property that achieves this.

 

CONCAT ( STR ( {Property:General Parameters/Element ID}; 0 ); STR ( {Property:General Parameters/Home Story Number}; 0 ) )

 

Something along those lines

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-24 NED FULL
Windows 10 Pro
Adobe Design Premium CS5

That is used as how i label my openings by expression in project, yes.

But the problem is with multiple instances of hotlinked modules. It is not possible to give individual ID's of openings in them

Erwin Edel
Mentor

You could use Master ID of the hotlinked module to give each placed module an unique ID (and the elements inside the module as well).

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-24 NED FULL
Windows 10 Pro
Adobe Design Premium CS5

It works a bit, yes

Meaning i cannot copy hotlinks but only place each instance seperately to achieve this unique Master ID before original ID, right?

Kaspars_0-1630677054474.png

 

Ah, or to get rid of Original ID as such and use only Master ID

Erwin Edel
Mentor

You can use TRIM to get rid of the bits you don't need.

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-24 NED FULL
Windows 10 Pro
Adobe Design Premium CS5

So the only drawback for this method as I can see is that all the objects within the module instance will get the same Master ID. For example If I have 3 doors, 2 sinks, etc., they all will have the same Master ID prefix before original ID

There should be two options: 'element ID' and 'hotlink and element ID'.

 

I typically use the 'hotlink and element ID' for things that require unique ID per placed module, for example zones. I typically use 'element ID' for things that should have the same ID regardless of being part of module or not, for example doors/windows.

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-24 NED FULL
Windows 10 Pro
Adobe Design Premium CS5

You can work with Property Expressions to get around that. If I understand correctly, you want different Properties for different Element types even if the Hotlink Master ID is the same.

This is made possible by the fact that a Property definition can include multiple Expressions, each in a new row in the Property Manager Dialog, processed one after the other until one gives a valid result.

For example, you could create multiple Expressions for the same Property (let us call it "ElemSpecificProperty"), something like this:

 

Let us say, your Hotlink Master ID is "M-01", "M-02", etc.

 

IF Element = Door then ElemSpecificProperty = "D-01" (First character is "D", rest is the "-01" portion of the Hotlink Master ID)

IF Element = Window then ElemSpecificProperty = "W-01" (First character is "W", rest is the "-01" portion of the Hotlink Master ID)

Then you would use this "intermediate" ElemSpecificProperty value in the Expression defing your Property, which would be: 

=Home Story + ElemSpecificProperty + ID.

 

Let us say the Element ID is "01", and the elements are on Story 2 so the Home Story parameter is "02".

In this case, the Property value for a Door coming from Hotlinked Module "M-01" would be "02-D-01-001", it would be "02-D-02-001" for a Door coming from Hotlinked Module "M-02", etc.

The Property value for a Window coming from Hotlinked Module "M-01" would be "02-W-01-001", it would be "02-W-02-001" for a Window coming from Hotlinked Module "M-02", etc.

So, they are in the same Hotlinked Module, they have the same ID, they are on the same Story, but with the introduction of an intermediate, element-specific Property into the Expression, their Property value can be different.

I hope this explanation makes sense.

 

....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, NVidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Lingwisyer
Virtuoso

Might there be someway to create a custom field that combines the Hotlink ID and the Door ID? You then schedule that instead?

 

eg. Door 4 in Hotlink 8 becomes "Door 84"

 

 

 

Ling.

 

...I feel like this forum is not always loading replies to posts...

AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!