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