2020-09-25 08:02 PM
2020-09-27 08:24 PM
FRAGMENT2 1,1Draw what you want or need into the "2D symbol" tab
IF var THEN FRAGMENT2 1,1 ELSE "Here the original 2D script" ENDIFBy this way you have to create a new parameter which is called "var" to be able to choose between the original 2D view and your own 2D symbol.
2020-09-30 06:58 PM
Christophe wrote:Thanks Christophe,
Hello Atlant Pashko,
Open your gsm object
Delete all 2D script tab and write this script into 2D script tab (https://gdl.graphisoft.com/reference-guide/binary-2d) :FRAGMENT2 1,1Draw what you want or need into the "2D symbol" tab
Your draw will be your 2D object plan view
Or you modify 2D script too like this :IF var THEN FRAGMENT2 1,1 ELSE "Here the original 2D script" ENDIFBy this way you have to create a new parameter which is called "var" to be able to choose between the original 2D view and your own 2D symbol.
2020-09-30 08:56 PM
Atlant wrote:
Of course it would be better if it could be cut by the cut plane, and change the 2D drawing accordingly
ADDZ lowcut/100 CUTPLANE 1, 1, 0, 1 DEL 1 ADDZ highcut/100 CUTPLANE 1, 1, 0, 0 DEL 1 CALL name PARAMETERS CUTEND CUTENDhighcut and lowcut are 2 parameters you have to define before