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: export a part of module ?
Topic Summary:
Created On: 10-Apr-2008 03:32
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.
 10-Apr-2008 03:32
User is offline View Users Profile Print this message


chunjia wang

Posts: 39
Joined: 11-Oct-2007

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.
Report this to a Moderator Report this to a Moderator
 10-Apr-2008 13:33
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 120
Joined: 16-Jan-2008

Set a filter for the object you want to see, then export.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
Report this to a Moderator Report this to a Moderator
 10-Apr-2008 16:36
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 10-Apr-2008 16:40
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

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
Report this to a Moderator Report this to a Moderator
 10-Apr-2008 18:48
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

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
Report this to a Moderator Report this to a Moderator
 11-Apr-2008 04:28
User is offline View Users Profile Print this message


chunjia wang

Posts: 39
Joined: 11-Oct-2007

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?
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.