Thursday, 15 January 2015

Enterprise Architect Shape Script DrawNativeShape() Function does not work -



Enterprise Architect Shape Script DrawNativeShape() Function does not work -

i have created new profile enterprise architect. defines stereotype "requirement". modifying default shape of "requirement", i'm dealing shape script. calling function "drawnativeshape()" not raise error, neither has effect! in fact expect code below display default shape of element, not diagram looks empty.

shape main{ drawnativeshape(); }

the drawnativeshape command saying "draw shape if didn't have shape script". that happening. don't see problem.

there 2 main uses drawnativeshape:

it can used apply conditional shapes element. test status , depending on reply either draw shape or phone call drawnativeshape. it can used apply conditional colour element. phone call setfillcolor followed drawnativeshape , element drawn default appearance using colour specified shape script.

enterprise-architect

No comments:

Post a Comment