Sheet numbering as combination of different Parameters (Solved)


#1

Hi everyone,
I´m really new to Dynamo. I´m tring to get the sheet number Parameter as a combination of different Parameters.
I found this example but unfortunatly is not working. https://livingroomcraftz.wordpress.com/2018/10/20/we-care-a-lot/

I get actually no wrong messages

!
any idea?


#2

Plane is german for Sheets i guess? Try this:


#3

Hi Schasfoortyoeri,
thank you for the suggestion. I´ve been tring with the Codeblock as you suggested and something seems moving but not working.

Dynamo try to override the sheetnumber just with the three “_”, Looks like the Parameters are not successfully read.


#4


Are these Sheet parameters?


#5

yes, as Shared Parameters


#6

Could you upload a Revit file? Im not an expert but i can do some trail and error


#7

#8


this is my actual Dynamo screen. I dont know why but i can´t get the four Parameters…


#9

Revit wont let you rename Sheetnumbers to all be “___” it should be all unique entries


#10

thanks m.rijsmus,
yes this make sense, but i cant do that…


#11

He wants it to be unique entries.

a = value of parameter Plantyp
b = value of parameter Ifd.
etc.
my geus is these parameters vary per sheet

Sheetnumber = a + "_" + b + "_" + c "_" + d


#12

HI all, thank you!

now is working!!! but just for some of These.
How to remove this “==” Code block on top?


#13

That == node is checking if the sheet parameter Plantyp isnt “” (empty)
you could leave it out, but if its empty it will result in Sheetnumbers like this:

Sheetnumber = _b_c_d

starting with _


#14

Thank you all!! I almost archive what i was looking for, i just need now to put everithing together.

I have few more Questions:

  1. one of These Parameters are actually always the same, so i could replace it with a fixed “AB” for example. Any Idea how to do this?

  2. I would like to put the revisions number in the end… but it is not a sheet number…


#15

that can be done just as you typed it…

image

or:
image


#16

Thank you very much!

Do you think is possible to add the “Revision number” Parameter?


#17

Use the same method as before to add it to the parameter :slight_smile: this is how you could get revision info from sheets.


#18

You are Right! I just added the Parameter in the same file and it is working well :slight_smile:


#19

Glad it worked! Can you mark a post as solution so others can also learn from your question?