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: Exporting the XML of a diagram
Topic Summary: I am attempting to export the XML of a diagram then delet the diagram
Created On: 17-May-2007 16:29
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.
Answer This question was answered by SA Team, on Tuesday, May 22, 2007 5:10 PM

Answer:

Hi

This should do what you want. I changed the diagram index to 2 (I only had 2 diagrams in my ency).

Hope this helps
Ian

 17-May-2007 16:29
User is offline View Users Profile Print this message


robert mccauley

Posts: 22
Joined: 19-Jun-2006

I am trying to export a diagrams XML and then deleting that diagram.  When i execute my code the XML file is empty and SA will not delete the diagram. My code is as follows:

dim myd as sa2001.application.encyclopedia.getalldiagrams
dim mydia as sa2001.diagram

path= "C:/test/export.xml"

set mydia = myD(5)
mydia.getxml(path)
mydia.delete

any help would be appreciated
Report this to a Moderator Report this to a Moderator
 18-May-2007 10:50
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

Answer Answer

Hi

This should do what you want. I changed the diagram index to 2 (I only had 2 diagrams in my ency).

Hope this helps
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.