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 position output
Topic Summary:
Created On: 3-Aug-2006 16:54
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.
 3-Aug-2006 16:54
User is offline View Users Profile Print this message


Graham Lund

Posts: 4
Joined: 3-Aug-2006

I'm trying to output symbol positions, either in a report or through VBA in Word.

I can't seem to find the XPos and YPos properties in the report generator so I've had a go in Word.

If I set a symbol object then query its properties the following happens:

MySymbol.Name works (as does any other string type property)

However,

MySymbol.YPos gives me a runtime error (as does any numerical type property)

I can get this information from a VBA module run within SA.

Any ideas what I'm doing wrong?

Cheers,

Graham
Report this to a Moderator Report this to a Moderator
 3-Aug-2006 19:56
User is offline View Users Profile Print this message


Jonathan Burlingame

Posts: 52
Joined: 1-Aug-2005

Graham,

Without seeing your exact code or the runtime error itself, I can't wager a guess as to exactly what you are doing wrong. However, the code below will work in MS Word VBA so long as you have added a reference to the SA2001 interface. I just print the outputs to the Immediate window in the Microsoft Visual Basic macro editor, but you can change the code to print the data where ever you want it to go.

-Zach

Edited: 3-Aug-2006 at 19:56 by Jonathan Burlingame
Report this to a Moderator Report this to a Moderator
 4-Aug-2006 12:00
User is offline View Users Profile Print this message


Graham Lund

Posts: 4
Joined: 3-Aug-2006

Thanks, that works.

I'll play with my original code until it does the same.

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