Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Dynamo Door Tag Script Help

7 ANTWORTEN 7
Antworten
Nachricht 1 von 8
sdWJKH8
1194 Aufrufe, 7 Antworten

Dynamo Door Tag Script Help

New here and been looking through the forums for some help on creating a door tag that pulls the room number then adds a suffix in sequential order. I've found a couple of examples on here and I feel like I'm close but I hit a point where I'm not sure where the issue is coming from. Here's what I've got:

 

The script:

sdWJKH8_0-1663602634060.png

All I need to happen is to get the "To Room No." door parameter to be the room number the door is in. Then using a custom door tag with a label to show that parameter on the tag. 

 

What I'm Getting:

sdWJKH8_1-1663602767516.png

Sometimes it works and sometimes it doesn't. In the door schedule the room numbers the doors are in are showing up correctly but I don't know where the dynamo tag script is getting these numbers from. Granted, there is a room numbered 509 in the project however its nowhere near the door shown.

 

Any advice?

Beschriftungen (1)
7 ANTWORTEN 7
Nachricht 2 von 8
ToanDN
als Antwort auf: sdWJKH8

Try this one.

Nachricht 3 von 8
rxi.gg
als Antwort auf: sdWJKH8

can you share the model and the script to check them?

Roi G. | AUTODESK REVIT & DYNAMO EXPERT

Da un "Me gusta" si la respuesta te ha resultado útil y acéptala como solución si ha resuelto tu duda.
Give a "Like" if the answer has been useful to you and accept it as a solution if it has solved your doubt.

Nachricht 4 von 8
sdWJKH8
als Antwort auf: ToanDN

sdWJKH8_0-1663603930231.png

is there a package where this node definition comes in?

Nachricht 5 von 8
ToanDN
als Antwort auf: sdWJKH8


@sdWJKH8 wrote:

sdWJKH8_0-1663603930231.png

is there a package where this node definition comes in?


Replace the built-in node, it gives a warning but till spits out the correct result.

 

ToanDN_0-1663606235333.png

 


.

Nachricht 6 von 8
sdWJKH8
als Antwort auf: ToanDN

As you mentioned it's giving me some error warnings, though the tags in the project remain incorrect as they were.

sdWJKH8_0-1663606642596.png

 

sdWJKH8_0-1663605991281.png 

sdWJKH8_1-1663606008870.png

at this point I'd attach the Revit file and script file, but the Revit file is too large for these forum posts allowance

Nachricht 7 von 8
ToanDN
als Antwort auf: sdWJKH8

Not sure what happened at your end but I did a test run and it worked here:

 

ToanDN_0-1663606499724.png

 

Nachricht 8 von 8
L.Maas
als Antwort auf: sdWJKH8

Are your rooms placed ok? For example if your rooms are too high they might go through next floor and cause confusion for the script.

As mentioned by other try to upload your project (Revit version?). You can strip your project (verifying that issue is still there) and then upload or instead use a service like dropbox/wetransfer to upload the project and post the link.

 

Also try other nodes like these from clockwork

LMaas_0-1663665797813.png

Besides the Door.Rooms, this package also has the other way around Room.Doors that might help in analyzing the problem.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report