Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

Bathroom library

Anonymous
Not applicable
hi, i been having this problem ever since i started using AC. everytime i place some of the bathroom objects, there is always a pop-up box that prompt that i have place the object on a incorrect layer, and to check my layer settings. could anybody tell me how can i fix this problem.

thanks
12 REPLIES 12
Anonymous
Not applicable
Could you please tell us the exact error message you are getting.
AFAIK, there is no such thing as an "incorrect layer".
Also, could you give us your AC version and platform.
Thank you,
Peter Devlin
Anonymous
Not applicable
the same thing happened on AC 9 and 10
this is what i get -
[/img]
Anonymous
Not applicable
I have never ever seen that particular error message.
What happens when you click on "Stop" ?
Peter Devlin
Anonymous
Not applicable
rx

Do you have any add-ons that may have specific layer requirements?

It does seem odd that you'd be placing bathroom fittings on a Site Survey layer, but I have never seen a message stopping you from doing it.
Barry Kelly
Moderator
rx_rotory wrote:
hi, i been having this problem ever since i started using AC. everytime i place some of the bathroom objects, there is always a pop-up box that prompt that i have place the object on a incorrect layer, and to check my layer settings. could anybody tell me how can i fix this problem.

thanks
Some of the Aussie library parts have a preferred layer which is the object checks as you are trying to place it.
I thought this was disabled in the latest library versions.

If you look in the object preferences you will hopefully see a setting for "Layer Control".
The preferred layer here needs to be set to the layer you wish to place the object in - then you will not get the error message.
There may also be a setting to allow you to place the object in the wrong layer.

If there is no setting in the parameters for this then you will need to edit the script to disable this feature.
This is probably your best option if you don't want this feature.
It should be the first few lines in the 2D script and sometimes also in the master script.

In 2D script you will see something like this you need to delete or remark out.

if GLOB_LAYER<>preflayer and layover=0 then !***** Here is where the object checks the layer that it's on *****
text2 0,0, "Wrong Layer"
end
endif


In the Master script you want to disable this.

if GLOB_LAYER<>preflayer and preflayer<>"" then !***** Here is where the object checks the layer that it's on *****
temp = REQUEST ("name_of_macro", "", name)
call wrong_layer_message PARAMETERS name=name, preflayer=preflayer
endif


It is a good feature if you want consistency across all your models.
Of course it is a real pain when you want to put different objects that need to go in different layers on your plan - but that's where favourites come in handy.
Also if you aren't worried about what goes in which layer then I can imagine it would be a pain.

The other thing is for it to be useful you need to have the same layer names as those that the library was designed for.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Hello Stuart,
Thanks for chiming in.
I was wondering the same thing about
some third party add-on like one of the CadImage add-ons.
Have you ever seen such an error message ?
I asked the question what happens when you hit "Stop"
because it seems that one is not prevented from placing
the object but are invited to check which layer the object
is being placed on.
Peter Devlin
Anonymous
Not applicable
Hello Barry,
Thank you for posting this information.
I have never used a lib part that contained this code
or knew of the macro "wrong_layer_message" .
Good to know.
Thanks,
Peter Devlin
Barry Kelly
Moderator
Peter wrote:
Hello Barry,
Thank you for posting this information.
I have never used a lib part that contained this code
or knew of the macro "wrong_layer_message" .
Good to know.
Thanks,
Peter Devlin
It is only in the "Australian Essentials" library as far as I know which is something extra that GS AUS does for us - not the default Archicad library.
I know it was a problem a few years ago (there was a post here somewhere back then) but I thought they had scripted all of this out of the latest version of the library.
Can't say for sure though as I don't use it.

The macro is simply the warning message that you saw in the screen shot.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Hello Barry,
Thank you for this information as well.
I was puzzled by some of the library parts
and their names like "Bath Fowler Florida"???
Thanks,
Peter Devlin