Support Forum

[Question] Place entities on a given layer


I am making a smartpart that I want to place different entities on a layer.
I have created a Parameter, with a "Name" LY_Moble, with a "Type" "Layer"
In the "2D Script":
PEN 12
STROKE 1
LAYER LY_MOBLE
PLACE2 01.62
I have also created in the interface the option to select the layer.
I_ROW "CAIXER"
I_INFIELD "LY_MOBLE" , 160 , 50 , 120 , 22
I_ROW_END
I find that when executing the SmartPart it does not put the objects on the layer.

Hello,

"PLACE2 01.62" is not correct.
Use "PLACE2 01 , 1".


Thanks for the reply.


https://connect.allplan.com/ uses cookies  -  More information

Accept