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: ChangeBar commands
Topic Summary:
Created On: 29-Jan-2008 17:40
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-Jan-2008 17:40
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

I was going through the CommandDatabase for DOORS 8.2 that was posted on here a while back.

I found the the void setChangeBar_ (Object, bool) command which if false is passed sets the changeBar to "baselined" (blue or green depending on your version) and red if true is passed (unsaved modification).

There is also another command void changeBar (Object, bool), however I have no idea what this is actually doing, anyone know?

My real question here is since there is a way to set the change bar, how do I get the change bar status? Did I miss the command somwhere? I'd like to know if the the object not baselined....

I know I could loop through the history if there are no history entries then it should be baselined. However, I don't want the module baselined so this method won't really work.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 29-Jan-2008 17:45
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Duh...Nevermind I figured it out.

use the bool modified (Object) command.

The attached code shows how this works.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 29-Jan-2008 at 17:46 by Scott Boisvert
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.