![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Symbol position output Topic Summary: Created On: 3-Aug-2006 16:54 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Thanks, that works.
I'll play with my original code until it does the same. Graham |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.