![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Count Requirements in Latest Baseline Topic Summary: Created On: 12-Dec-2006 13:15 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Check the default view of your Baseline to ensure that its not filtering it. If it is, you'll only get the objects in the current view I believe. I'm currently doing some scripts involving baselines and am not having an issue just using the standard Object o Baseline b = (<majorversionnumber>, <minorversionnumber>, <suffixstring> ![]() Module base = load(current, baseline, false) for o in base do { } syntax. I'm actually getting all the available baselines in the current module and selecting which I want to load which is why I'm not using the getMostRecentBaseline() command. | |
![]() |
|
I need to be able to open the latest baseline in the current module, and loop through the objects to count the requirements, but it would appear that |
|
![]() |
|
![]() |
|
Look in help folder under
Baseline getMostRecentBaseline(Module m [,bool lastbaseline]) Module load([Module m,] Baseline b, bool display) |
|
![]() |
|
![]() |
|
Thank you. I have loaded it - load(m,b, false) |
|
![]() |
|
![]() |
|
I've tried just counting objects in the latest baseline, but they are not correct.
Some are close, some are way off. Is there anything to watch out for when counting in baselines? Thanks |
|
![]() |
|
![]() |
|
You may have to open in the format and then apply correct filter -- this all depends upon your implementation details
|
|
![]() |
|
![]() |
|
Check the default view of your Baseline to ensure that its not filtering it. If it is, you'll only get the objects in the current view I believe.
I'm currently doing some scripts involving baselines and am not having an issue just using the standard Object o Baseline b = (<majorversionnumber>, <minorversionnumber>, <suffixstring> ![]() Module base = load(current, baseline, false) for o in base do { } syntax. I'm actually getting all the available baselines in the current module and selecting which I want to load which is why I'm not using the getMostRecentBaseline() command. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Thank you all for your help.
Things are looking better now in the output. Many thanks again |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Count Requirements in Latest Baseline
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.