Dear @Anonymous,
these two variants for the test script are available to you.
TESTACPSCRIPT / TESTACPSCRIPT1
To test and check the geometry body we have the AutoLISP® function TESTACPSCRIPT and TESTACPSCRIPT1 created.
The first parameter at booth script types is the variants name (like "CPFLR")
The next parameters for TESTACPSCRIPT are couples of values: the fieldname and the needed value (like "D1" "300.5").
For TESTACPSCRIPT1 we have to set all the parameters inside 1 string (like it’s done inside catalog/spec dbs: “D1=300.5”)
If a field isn't set the function takes the default values from the variants definition.
That looks like:
(TESTACPSCRIPT "CPFLR")
(TESTACPSCRIPT "CPFLR" "D1" "300.5")
(TESTACPSCRIPT "CPFLR" "L" "40" "D1" "300.5" "D2" "88.9")
Or
(TESTACPSCRIPT1 "CPFLR")
(TESTACPSCRIPT1 "CPFLR" "D1=300.5")
(TESTACPSCRIPT1 "CPFLR" "L=40,D1=300.5,D2=88.9")
Before we can use TESTACPSCRIPT or TESTACPSCRIPT1 inside Plant 3D we have to load PnP3dACPAdapter.arx.
That can be done with
(arxload "PnP3dACPAdapter.arx")
or with the appload function