![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: nextMajor(suffix) doesn't work Topic Summary: Created On: 21-Feb-2006 23:23 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
The "nextMajor()" and "nextMinor()" command correctly get a baseline designation suitable for DXL to create a baseline with the "create(module, bl, annotation)" command.
However, the "nextMajor(suffix)" and "nextMinor(suffix)" commands do NOT retrieve a baseline handle, instead they return a baseline just like the "suffix(suffix)" command: current version with a suffix. Thus, I cannot find a way to create a new Major or Minor basline using a suffix. Anybody know how to do that? That is, if the current is "1.2 (a)" I can create "1.2 (b)" but I want to create baselines "2.0 (b)" or "1.3 (b)". - Louie |
|
![]() |
|
![]() |
|
Not sure if I am understanding correctly, but the following seems to work:
create(nextMajor("b"), annot) ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Hi Louie, Hi Tony,
nearly correct, but to create the baselines Louie wants to have, the correct code line would be : create(nextMajor "(b)", annot) ![]() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Not so, that would give an error because parentheses are not allowed in suffix strings.
The parentheses are optional, so create(nextMajor "b", annot) is syntactically the same as create(nextMajor("b"), annot) ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
That does seem to work.
What I'm trying to do, however, is build the Baseline variable first, then issue this: create(bl, Annotation). Variable "bl" is a function of "nextMajor" or "nextMinor", but when I do this: bl = nextMajor("a") and then look ath the bl variable, its major and minor parts are wrong and the 'create' function gives a trapped lastError() DXL error. I guess I'll find a way to recode such that I use "create(nextMajor(Suffix), Annotation)" directly. Thanks. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
nextMajor(suffix) doesn't work
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.