IF CONDITION [Solved]


Good afternoon.
As indicated on a smartpart
IF = g1 = "cube" then I want you to draw the cube
goto "100" tag
if = g1 = "cylindre then I want it to draw a cylinder
I'm sorry for this very basic question.
Thanks in advance

Regards

Attachments (2)

img
Master-Scrip.png
Type: image/png
Downloaded 8 times
Size: 11,99 KiB
img
Script 3D.png
Type: image/png
Downloaded 10 times
Size: 15,98 KiB

Show solution Hide solution

Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


1 - 4 (4)
  • 1

Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


1 - 4 (4)
  • 1

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

Accept