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: Print out current DOORS Hierarchy...
Topic Summary: Does any one know...?
Created On: 22-Jan-2008 16:53
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.
 22-Jan-2008 16:53
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

How to create a text file with the current hierarchy of DOORS.
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 16:58
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

This should get you started.....

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 17:15
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The 'code' for me is chopped off, last line I see is:
fout << fullName (p) "\n"

This happens often to me. Anyone else gets chopped off? Anyone else can see the entire script?

- Louie
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 17:22
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Originally posted by: Louie Landale

The 'code' for me is chopped off, last line I see is:

fout << fullName (p) "\n"



This happens often to me. Anyone else gets chopped off? Anyone else can see the entire script?



- Louie


I got a scroll bar on the right, but here's the full code:

Project p

Item I

Stream fout = write ("C:\\temp\\test.txt")

for p in database do
{
fout << fullName (p) "\n"

for I in p do
{
fout << fullName (I) "\n"
}
}

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 17:41
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Yeah its all there for me. Just have to scroll.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 23-Jan-2008 10:25
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

You might want to add the following to the code

close(fout)

:-)

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 23-Jan-2008 12:42
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Originally posted by: Tony Goodman

You might want to add the following to the code



close(fout)



:-)


Good point Tony thanks. Forgot I was Streaming....

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
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.