![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: export a part of module ? Topic Summary: Created On: 10-Apr-2008 03:32 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
hi, all.
I want to exoport a paragraph of module to an acceptable form. I do not know how to filter the paragraph that should be exported. an acceptable form is better word/excel or other format from. please help me. Table , picture , ole , how to handle. thanks. |
|
![]() |
|
![]() |
|
Set a filter for the object you want to see, then export.
------------------------- Kevin Murphy http://www.baselinesinc.com |
|
![]() |
|
![]() |
|
The attached old 'filteCurrTree.dxl' should do what you want. Put it in your 'user' folder. Open a module, select a heading. Run the script. It filters out everthing in the module except the current object and its descendants.
It respects the current display set (meaning: no new objects are displayed), so if you show deletions before running this script you will see deleted descendants. I think I should have written this script to actually search parents of the object looking for the current object as one of its ancestors, instead of trying to be so clever with the paragraph numbers. - Louie |
|
![]() |
|
![]() |
|
Here is a script that filters on whatever you select
//Filter on selection /*Filters on selection demo (c) Ron Lewis 2008*/ Object o Module m=current for o in m do {if(isSelected o)accept o else reject o } filtering on |
|
![]() |
|
![]() |
|
Here is a more elegant way for current object and children.
void addCurrent(Object o) { Object c for c in o do addCurrent c accept o } Module m = current Module Object o = current Object Object c = null for c in m do reject c addCurrent o refresh m filtering on |
|
![]() |
|
![]() |
|
thanks , all.
The filter script that you provided works well. then I write some script that export the objects filtered. but I do not know how to export table,figures? |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
export a part of module ?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.