CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Copying layer names from one file to another

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2014, 02:10
Default Copying layer names from one file to another
  #1
New Member
 
Join Date: Jun 2014
Location: India
Posts: 9
Rep Power: 12
skn455 is on a distinguished road
In Pointwise I want to copy all the layers (not any geometry) from one file to another -the same numbers and description. How can I do that ?
skn455 is offline   Reply With Quote

Old   December 23, 2014, 11:57
Default
  #2
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14
dgarlisch is on a distinguished road
Try this:

1) File / Open the file with the layers you want to copy.
2) CAE / Set Boundary Conditions... delete all BCs*.
3) CAE / Set Volume Conditions... delete all VCs*.
4) View / Show Hidden
5) Go to the Layers panel and click the All On button.
6) Select all DB and grid ents and delete.

File should be empty now except for layers.

7) File / Save as... LayersOnly.pw
8) File / Open (Replace) file into which you want to import the layers.
9) File / Open (Merge) LayersOnly.pw


If you need to do this frequently, you should write a script.


* If you want to transfer the BCs and VCs, do not delete them.
dgarlisch is offline   Reply With Quote

Old   January 7, 2015, 05:55
Default
  #3
New Member
 
Join Date: Jun 2014
Location: India
Posts: 9
Rep Power: 12
skn455 is on a distinguished road
Thank you David
But when I Select all DB and grid entities as you suggest in step 6 , All the layers names in the panel also get deleted. But I need the names..
skn455 is offline   Reply With Quote

Old   January 7, 2015, 11:12
Default
  #4
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14
dgarlisch is on a distinguished road
The names are still there.

They are hidden because the Show Empty Layers box is not checked.
dgarlisch is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 14 June 22, 2018 07:29
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 17:46


All times are GMT -4. The time now is 22:11.