Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Typical Floor Scheduling

Anonymous
Not applicable
Hi,
I have created Zones, Doors and Windows which display the story number as part of a custom field Output Zone Number, Output Door Number or Output Window Number.

This is so that an element that is placed in a typical hotlink file, will show its relevant story number when brought into the main file.

I have done this by using the 'index' for the story number in
Request("story", "",index,story_name)


For Example, Zone Output Number = 'story number'-'Zone Number
05-001

All works well in plan, that as the typical module is copied up the building, the zone number looks as I like
i.e.
05-001
06-001
07-001
etc.

However when I open the schedule and add the custom parameter, it doesn't pick up the same number, it picks up the story number of the hotlink
ie
00-001
00-001
00-001

Is there a way around this to pick up the main file story in schedules??
I'm stumped

Thanks
Tom
13 REPLIES 13
Anonymous
Not applicable
Hey Tom

Are you doing units within the overall building and are you saving the modules as .pln or just .mod?
Anonymous
Not applicable
Hi Kristian,
We are using a separate pln authoring file, which has many stories to represent all the seperate typical files.
We then publish to mod
Anonymous
Not applicable
Ahhh ok
Unfortunately the mod file wont pass any of that info into
the master folder!You might be able to create a second parameter
that calls the story number as just text from your story_name parameter. (say, story_name_txt)
If you use the GLOB_MODPAR_NAME you should be able to get it to fill out once... maybe??

So something like
IF GLOB_MODPAR_NAME = story_name THEN
PARAMETERS story_name_txt = story_name
ENDIF

I'm not at a machine with AC on it at the moment to test it mate but it's worth a shot!
Anonymous
Not applicable
No luck.
I just find it really odd that when I check the parameters of the object in my combined main file, the parameter looks good.
When I check the schedule which is calling up the exact same parameter, it reads a different number. I don't understand how this can happen
Anonymous
Not applicable
The thing is when you use modules, it essentially drops the project settings
of the original file and adopts the environment of the file its brought into!

I'll have a dig at it tonight mate and see if I can come up with a way around it!
Anonymous
Not applicable
Thanks Kristian,
I actually want it to drop the properties of the mod file so it reads the story settings of the main file.
I guess it would make sence if the parameter read the same number in plan and schedule. Im confussed
Anonymous
Not applicable
ahhhhhh ok now I see what you're doing mate
I just did a quick test with another object.
Where in the script have you placed the request and parameter value? (Master, 2D, Parameter etc)
I did mine in the master and I can get it to keep the info from the authoring file (which could be handy) but I can't get the 00 like you have mate!
Anonymous
Not applicable
Thanks for looking at this Kristian,
I am doing everything to do with this in the parameter script. I think I have over complicated things by also doing something such as if index = 0 then output = "00".
I will try simplifying and moving to the master script and hope I can pull the number from the main file
Cheers
Anonymous
Not applicable
That's no sweat at all mate!
I'ma actually working on some module stuff myself so I've just tagged it into that!