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: Matrix Editor
Topic Summary: How do you view the code behind the canned Matrix reports?
Created On: 8-Dec-2005 16:37
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.
 8-Dec-2005 16:37
User is offline View Users Profile Print this message


Matt Sheranko

Posts: 82
Joined: 7-Oct-2005

SA Version 10.1.11
C4ISR option


ISSUE:
I want to create a custom matrix report.  I want to view the source code for the "canned" matrix browser's matrix reports.

QUESTIONS:
1) How are the "canned" matrix browser reports created in the SA Tool environment?

2) How do I view the code for the "canned" matrix browser matrix reports?

3) Can you create a matrix report with the VBA API?



-------------------------
Thanks,

MattS

Edited: 8-Dec-2005 at 16:39 by Matt Sheranko
Report this to a Moderator Report this to a Moderator
 8-Dec-2005 18:45
User is offline View Users Profile Print this message


Kevin P. Calandrella

Posts: 52
Joined: 9-Sep-2005

All matrix specifications are stored as XML:

1) Canned matrices are in matrix.xml
2) User created matrices are in usrmatrx.xml

These XML files are based on the matrix2.dtd.  All of these files can be found in the SA application folder.

The API doesn't allow you to define a matrix, matrices must be defined in the above XML files, but you can load a matrix using SAUI.ShowMatrix(strXML).  The tricky part is the XML string to pass in.  To load the default EBP to Location matrix the string would be:

<SAFile SAFileID="C6" SAFileName="C:\Source\DEV10_3\win32\bin\matrix.xml"  />

C6 is the matrix ID for the EBP to Location matrix (see matrix.xml) and SAFileName is the full path to the matrix XML file.  For user defined matrices you probably want to point to usrmatrx.xml in your SA application folder. 
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 0 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 0 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.