Arun,
Ok now. I have to use gettype() before getting name.
Please give a example to add ports in code.
Thanks,
Chris
>Hi Arun,
>Thanks.
>
>I still have problem for symbol name. I use Symbol Designer to
design some symbols and drop it into diagram (MDI application) and use Tooltip to check the name.
>
>a, If I group symbols in symbol desginer, I cannot move symbol in diagram after dropping.
>If ungroupping in desginer, then it works. ?
>
>b) Tooltip show different name depending in mouse position. if symbol includes one rect, one ellipse, one lable, the tooltip will show name as Rect, Ellipse, or Lable name, depending on where it mouse stays on the symbol.
>
>Chris
>>Hi Chris
>>
>>
Here is a sample where you can add Custom Symbol (MySymbol) to the Diagram. Hovering on the custom symbol will display Tooltips with the Symbol''s name (MySymbol, MySymbo1...).
>>
>>Can you take a look at this sample and update this posting if you have any further questions.
>>
>>Regards
>>Arun