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: Connecting Microsoft Word Document and System Architect
Topic Summary:
Created On: 15-Jul-2008 14:39
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.
 15-Jul-2008 14:39
User is offline View Users Profile Print this message


Mark Frazier

Posts: 41
Joined: 6-Dec-2005

We'd like to have a MS Word document with embedded Boolean box fields. Then have it so when a System Architect user opens this file and "checks" a box an associated definition property in SA is updated. Has anyone done this? If so how?

Thanks,

Mark
Report this to a Moderator Report this to a Moderator
 16-Jul-2008 13:41
User is offline View Users Profile Print this message


Toby Chaloner

Posts: 29
Joined: 22-Aug-2007

Write a MSWord Macro
You will need to add a reference to the SA2001 (in MSWord Visual Basic Editor: Tools;References)

You can then drive SA from MS Word. It may be better to attach to a running SA instance, MSWord can timeout before the app starts. I haven't written any live macros to do this, so this is an illustration only.

I ran the following code to prove the idea

'from C:\Program Files\Telelogic\System Architect Suite\System Architect\defns.bas
Global Const DFXOOUSECASE = 428 ' New UML Use Case

Sub a()
Debug.Print SA2001.Application.Encyclopedia.FullName
Dim def As SA2001.Definition
Dim objs As SA2001.SAObjects
Set objs = SA2001.Application.Encyclopedia.GetFilteredDefinitions("*", DFXOOUSECASE)
objs.ReadAll
For Each def In objs
Debug.Print def.Name
Next
End Sub
Report this to a Moderator Report this to a Moderator
 16-Jul-2008 15:33
User is offline View Users Profile Print this message


Mark Frazier

Posts: 41
Joined: 6-Dec-2005

Thanks Toby,

Simplistically what we are trying to do is... think of a multiple choice test. We want our users to launch a form (MS Word, html, whatever) that has the test and multiple choice answers. Then when they answer the questions we want the data stored in SA in specific definition properties.

Mark
Report this to a Moderator Report this to a Moderator
 17-Jul-2008 13:02
User is offline View Users Profile Print this message


Toby Chaloner

Posts: 29
Joined: 22-Aug-2007

Sounds like a fun project for a tool specialist. How many mandays have you put aside to develop this?
Report this to a Moderator Report this to a Moderator
 17-Jul-2008 17:58
User is offline View Users Profile Print this message


Mark Frazier

Posts: 41
Joined: 6-Dec-2005

It's a T&M contract so we work on it until it's done. After one day, we're close to having a program allowing users with two different roles. One that allows Subject Matter Expert (SMEs) users to enter test questions and answers that then are added into a test form. The second lets the larger architecture community take the test. We also have read SA data from this program. So now we just need to figure out how to write the test answers back to specific properties within SA.

Mark
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.