- Wed Jun 05, 2019 2:03 pm
#298027
Hi!
I would like to create zone which shows information according to the name of the view. It's needed for ceiling plans. I would like to make the same zone which displays differently into different views. Default UI gives a chance to create only scale dependent stamp.
I found a fragment of the code responsible for displaying specific information.
Then, i would like make it drawing-name-dependent
So I tried to use global parameters like:
So it could look like:
It would give a chance to call my view "Ceiling Plan" and disable name of the zone (ORDER_ZONE_NAME)
It works when I use local parameters but when I use global ones (mentioned above) says that is either
"Uninitialized variable" or "Numeric type expression required".
It's strange, because global parameter "ac_drawingName" is decribed as a String.
I would like to create zone which shows information according to the name of the view. It's needed for ceiling plans. I would like to make the same zone which displays differently into different views. Default UI gives a chance to create only scale dependent stamp.
I found a fragment of the code responsible for displaying specific information.
Code: Select all
if usedRows[orderIdx] = ORDER_ZONE_NAME then showGroupDisplay[ORDER_ZONE_NAME] = 1
if usedRows[orderIdx] = ORDER_ZONE_NUMBER then showGroupDisplay[ORDER_ZONE_NUMBER] = 1
Then, i would like make it drawing-name-dependent
So I tried to use global parameters like:
Code: Select all
ac_drawingName
ac_drawingNumber
ac_storyName
So it could look like:
Code: Select all
IF ac_drawingName = Ceiling Plan THEN
if usedRows[orderIdx] = ORDER_ZONE_NAME then showGroupDisplay[ORDER_ZONE_NAME] = 1
ENDIF
It would give a chance to call my view "Ceiling Plan" and disable name of the zone (ORDER_ZONE_NAME)
It works when I use local parameters but when I use global ones (mentioned above) says that is either
"Uninitialized variable" or "Numeric type expression required".
It's strange, because global parameter "ac_drawingName" is decribed as a String.
AC 22 5009 INT
iMac 5k 4,2 GHz
8 GB iCore i7
iMac 5k 4,2 GHz
8 GB iCore i7