AnsweredAssumed Answered

Get value from another CGA Rule & limit number of attribute (ATTR) for each CGA rule

Question asked by sulaimanbinbudin on Dec 2, 2017
Latest reply on Dec 12, 2017 by sulaimanbinbudin

QUESTION NO.1

 

/**
 * File:    NEW_DCS_COMPLIANCE.cga
 * Created: 3 Nov 2017 06:16:04 GMT
 * Author:  areman
 */

 

version "2017.0"

import PARKING_CALCULATION:"rules/PARKING_CALCULATION.cga"

import FacadeTexturing:"rules/FacadeTexturing.cga"    

 

@Group("01 BUILDING FLOOR INFO")

@Order(01)

attr    No_of_Storey_Proposed        =    8

 

Question : I just create CGA rule named NEW_DCS_COMPLIANCE.cga, where under this cga i import another 2 CGA name PARKING_CALCULATION & FacadeTexturing.

 

I just want to link or tied up the value of NO_OF_PARKING_REQUIREMENT (under PARKING CALCULATION CGA) with the value of ( attr No_of_Storey_Proposed ) in the NEW_DCS_COMPLIANCE cga. So, when the value of no of building floor change, the number parking requirement under PARKING CALCULATION cga will change instantly

 

QUESTION NO. 2

 

Is there any limit no. of attribute (attr) for each CGA rule ? Coz previously when i am using CE 2014, i have problem to add in new attribute (attr) lines in CGA...

 

Thanks,

 

SULAIMAN

Outcomes