![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to swap Object Text to Object Heading...? Topic Summary: Created On: 20-Nov-2008 11:46 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Object o
Module m = current for o in m do { i need to swap the object text to Object Heading and viceversa... } |
|
![]() |
|
![]() |
|
Well, you might have difficulties here, because Object Heading is of type String and accepts only 968 characters, no OLEs or line feeds. So if you run the example script your content might be truncated.
Object o Module m = current for o in m do { o."Object Heading" = o."Object Text" "" // Empty old object text o."Object Text" = "" } In DOORS 8.3 there is an Out-of-the-box functionality for this, look in Edit / Object / Swap Object heading and text. ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
Thanks, I just wanted to do it automatically because I have a bunch of objects that I need to swap.
|
|
![]() |
|
![]() |
|
From looking at formal.dxl, I think you can just use the function
swapObjHeadingAndText() --after setting your object to current. It even seems to work on invisible modules. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to swap Object Text to Object Heading...?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.