Using SYMFLD_ZPDESC places the graphical comment on the lower right position in Rational System Architect

Technote (troubleshooting)


Problem(Abstract)

Attempts to use the object model enumerated type symbol field SYMFLD_ZPDESC in your Microsoft Visual Basic for Applications (VBA) macro display the graphical comment text on the lower right position of the symbol in IBM Rational System Architect (SA).

Symptom

The graphical comment text is displayed in the lower right position of the symbol.


Cause

SA is working as designed. This is the default graphic comment position.

  • You set the graphic comment property of the symbol using the symbol field SYMFLD_COMMENT .
  • You set the graphic comment text for the symbol using the symbol field SYMFLD_ZPDESC
  • You set the graphic comment position on the symbol using the symbol field <code>]SYMFLD_DESCLOC.

Resolving the problem

You need to specify where the graphic comment is to be placed using the symbol field SYMFLD_DESCLOC. You can place the graphic comment text anywhere you like. For example you can try adding this line to your VBA macro:


sym.SetField SYMFLD_DESCLOC, Format(sym.XPos) + " " + Format(sym.YPos + 20)


Notes:

  • You may experiment with the VBA code line given above to meet your requirements.
  • Further information on all symbol fields can be found in the help topic Symbol Fields.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational System Architect
General Information

Software version:

11.0, 11.1, 11.2, 11.3, 11.3.1, 11.3.1.1, 11.3.1.2, 11.3.1.3, 11.3.1.4, 11.3.1.5, 11.4, 11.4.0.1, 11.4.0.2, 11.4.0.3, 11.4.1, 11.4.1.1, 11.4.1.2, 11.4.2, 11.4.2.1, 11.4.2.2, 11.4.2.3

Operating system(s):

Windows

Reference #:

1640612

Modified date:

2013-06-13

Translate my page

Machine Translation

Content navigation