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: Open Baseline version of Module directly
Topic Summary:
Created On: 27-Jul-2006 18:27
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.
 27-Jul-2006 18:27
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Is is possible to open a Baseline version of a module directly, if the current version of same module is not already open?

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 28-Jul-2006 08:09
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Michael,

I'm not at work, so I can not test it, but I think one of these function could be the solution:

ModuleVersion moduleVersion(string, Baseline)VersionFromIndexBaseline
ModuleVersion moduleVersion(string) VersionFromIndex
ModuleVersion moduleVersion(ModName_, Baseline) VersionFromDocBaseline
ModuleVersion moduleVersion(ModName_) VersionFromDoc
ModuleVersion moduleVersion(Module) VersionFromTree

I hope, this will help you

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 31-Jul-2006 19:55
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Reik,

I have tried to use those commands, but I could not get any of them to work without the some version of the module having been opened first.

The versions of the function that take a Baseline argument state: "The reference is to the current version if the Baseline argument is omitted." I haven't found a way to get a handle to a Baseline without having the current version of the module open first.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 10:35
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Michael,

the third version of moduleVersion should be work for your needs

The following code will open baseline "2.0" of Module "/path/module name", without opening the current version of Module:

ModuleVersion mv = moduleVersion(module "/path/module name", baseline (2, 0, ""));
load (mv, true);


Yes, it really works

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 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.