![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: set filter Topic Summary: Reject, Accept counts are not proper Created On: 15-Feb-2006 11:03 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi, you should read the DXL manual more accurately; then you'd find that the definition of the "set" function is void set (Module m, Filter f, int &accepted, int &rejected) which means you have to supply a module parameter. In addition, the "&" operator is only necessary for the definition (it says that the parameter may be changed in the function); it must be omitted if the function is called. Thus, if you change your code by replacing "set f8, &acep, &reje" "set (m, f8, acep, reje)", where m is defined as "Module m = current", it will work. Regards Toni | |
![]() |
|
I am new to DXL.
I want to get the count of objects that have been accepted and rejected by the filter. However, when I run the below code, I am getting "0" for both when printing to output window.
Does anybody know what I am doing wrong? After running the script, when I open "Tools->Filter", I am able to see the same filter command. And when I click "Apply", I see the correct values for objects accepted and rejected. But the DXL code does not work.
Thanks.
|
|
![]() |
|
![]() |
|
Hi,
you should read the DXL manual more accurately; then you'd find that the definition of the "set" function is void set (Module m, Filter f, int &accepted, int &rejected) which means you have to supply a module parameter. In addition, the "&" operator is only necessary for the definition (it says that the parameter may be changed in the function); it must be omitted if the function is called. Thus, if you change your code by replacing "set f8, &acep, &reje" "set (m, f8, acep, reje)", where m is defined as "Module m = current", it will work. Regards Toni |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
set filter
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.