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: load module Command
Topic Summary: open but hide a module
Created On: 23-Jun-2006 20:00
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.
Answer This question was answered by Louie Landale, on Monday, June 26, 2006 3:53 PM

Answer:
You can open a module invisibly using 'false' in the read command: Module mod = read(Name, false). Such opens are much faster and take far less memory than opening "true" or visible. I'm pretty sure that the 'Standard' view is sort-of-used, meaning no sorting and no filtering and deleted objects are not 'seen'.

However, you cannot deal with Views when the module is invisible. Don't know why.

As far as "in the background" I'd say "no": you cannot be working while a DXL script is working, without a different instance of DOORS or running a job batch. Some DXLs display a dialog that sits there waiting for you to push a button, while you do other things, but that's not really working concurrently.

- Louie
 23-Jun-2006 20:00
User is offline View Users Profile Print this message


Matt Hofferth

Posts: 16
Joined: 20-Jun-2006

I was wondering if anyone knew if there was a way to open a module in the background and then be able to run a script with respect to the views/ load or change between views. The script I would want to use this in is used to copy the views and attributes between 2 modules.
Report this to a Moderator Report this to a Moderator
 23-Jun-2006 20:31
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
You can open a module invisibly using 'false' in the read command: Module mod = read(Name, false). Such opens are much faster and take far less memory than opening "true" or visible. I'm pretty sure that the 'Standard' view is sort-of-used, meaning no sorting and no filtering and deleted objects are not 'seen'.

However, you cannot deal with Views when the module is invisible. Don't know why.

As far as "in the background" I'd say "no": you cannot be working while a DXL script is working, without a different instance of DOORS or running a job batch. Some DXLs display a dialog that sits there waiting for you to push a button, while you do other things, but that's not really working concurrently.

- Louie
Report this to a Moderator Report this to a Moderator
 23-Jun-2006 20:32
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

<Edit>Err, nevermind, Louie's got a better grip on it than I do. </Edit>
Regarding copying views and attributes, you can look through the built-in scripts for ideas. Try utils\copyview.inc for starters.

Chris

Edited: 23-Jun-2006 at 20:37 by Chris Jones
Report this to a Moderator Report this to a Moderator
 26-Jun-2006 15:52
User is offline View Users Profile Print this message


Matt Hofferth

Posts: 16
Joined: 20-Jun-2006

Thanks, we were thinking that we would not be able to deal with views without the module being visable but we wanted to make sure.
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.