Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
Topic Title: Symbol embedded by other symbol
Topic Summary:
Created On: 28-Mar-2007 14:16
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 28-Mar-2007 14:16
User is offline View Users Profile Print this message


Raffaele Nappi

Posts: 8
Joined: 18-Jul-2006

Hi all,
I've a simple question: how could I retrieve a symbol handle embedded by another symbol?

I can't use:

Set symList = curSym.GetRelatedObjects(RELISEMBEDDEDBY)

because current diagram isn't saved!

Is there a function like following one:

Declare Function GetFromAndToSymbols Lib "sadesign.dll" Alias "_GetFromAndToSymbols@16" (ByRef hDgm As Long, ByRef hLineSym As Long, ByRef hSymFrom As Long, ByRef hSymTo As Long) As Long

which works with unsaved diagram?

Thanks
rN

Report this to a Moderator Report this to a Moderator
 5-Apr-2007 10:32
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

I don't believe that specific relationship is created until the diagram is saved.
It is determined by identifying symbols which are wholey contained within other symbols.

It is normal to write a macro which asks the user whether they want to save the current diagram before continuing, when working against diagrams.
If they do not wish to save the diagram, then the macro reports that it can not continue.

Thanks
Ian

-------------------------

Senior Software Developer
Telelogic UK Ltd.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.