2013-1 where is the help for smartparts commands ?

Balises:

Hello

Since one or two updating new settings smartpart are added to the new version. It is a very good thing, but this is no help is available, with the F1 key, nor in the paper documentation.

Can you help me find a help?

otherwise if nothing is available can you help me regarding the following commands and their uses.

"AUTO" ?
"CALL_OBJ" ?
"PREPAREFUNCTION" "FUNC" 'CALLFUNCTION' "FUNC_END" ??
"SWITCH" "SWITCH_END"

A big thank you.
Kind regards

Olivier1

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1

Hello,

FUNC - new Command for encapsulate functions
-----------------------------------------------
Examples:
1.---------------------------------------------
PRINT out ( "eins","zwei","drei" )
END

FUNC out ( a,b,c )
PRINT a , b , c
RETURN "vier"
FUNC_END

2.--------------------------------------------
PRINT faculty ( 9 )
END

FUNC faculty ( a )
IF a = 1 THEN
b=1
ELSE
b= a * faculty ( a - 1 )
ENDIF
RETURN b
FUNC_END

SWITCH - new command for switch cases
---------------------------------------
Example:
a = 2
SWITCH a
CASE 1
PRINT "1"
BREAK
CASE 2
PRINT "2"
BREAK
DEFAULT
PRINT "default"
BREAK
SWITCH_END

CALL_OBJ - similar to CALL - but the result is a object (SmartPart)

Regards

Jörg

as always a big thank you for your help
Kind regards

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1


https://campus.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter