Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: dxl re-run
Topic Summary:
Created On: 29-Oct-2003 08:45
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
 29-Oct-2003 10:30
User is offline View Users Profile Print this message


Andrea Cini

Posts: 5
Joined: 23-Oct-2003

Just run it again, by a click on Run button.
Verified on DOORS 5.2.

Regards

-------------------------
Andrea.Cini(at)libero.it
Report this to a Moderator Report this to a Moderator
 29-Oct-2003 12:55
User is offline View Users Profile Print this message


Andrea Cini

Posts: 5
Joined: 23-Oct-2003

Sorry for the misunderstanding, Faris, I was supposing a too simple problem.
Unfortunately, I've not the answer now.

Bye


-------------------------
Andrea.Cini(at)libero.it
Report this to a Moderator Report this to a Moderator
 29-Oct-2003 15:08
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I'm not sure I understand, but the attached code may be what you want.

Basically, the main function "applyRun" is run when you push the button AND run when the script first executes.

- Louie

Edited 30-Oct: corrected "applyMine" to "applyRun". corrected attached code intentation and bracket problem. Changed incorrect notion of "size" to correct notion of "position". Changed notion of current object.

Edited: 30-Oct-2003 at 16:15 by Louie Landale
Report this to a Moderator Report this to a Moderator
 30-Oct-2003 16:14
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I edited my message above: Edited 30-Oct: corrected "applyMine" to "applyRun". corrected attached code intentation and bracket problem. Changed incorrect notion of "size" to correct notion of "position". Changed notion of current object.

Sorry its not clearer. Notice that "applyRun" is called initially by the script,and since there is no DB showing the first IF failes and we go into the second part of the function, that defines and shows the DB. If you then push the apply button, "applyRun" is invoked again. Since the DB IS defined that first IF does execute, and you retrieve the current position of the DB; then destroy the DB. Then the second part is invoked that reinitialized the DB but puts in the same position.

Notice the 2nd part of the function defaults the X and Y positions of the DB.

The first IF will need to be enhanced to read the current values in the DB so they can be reset like that in the second part of the function.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
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.