CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Pointwise & Gridgen

creating multiple copies in one click

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 10, 2016, 20:56
Default creating multiple copies in one click
  #1
Senior Member
 
Shamoon Jamshed
Join Date: Apr 2009
Location: Karachi
Posts: 208
Rep Power: 10
Shamoon Jamshed is on a distinguished road
Send a message via Skype™ to Shamoon Jamshed
Dear Fellows,

I have a bunch of collector (about 100) and I need to repeat them linearly. Is it possible that I use the command of copy and select one connector and specify somewhere "the number of copies" so that a handful of my time must save.

Regards,
Shamoon Jamshed is offline   Reply With Quote

Old   March 11, 2016, 10:09
Default
  #2
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 147
Rep Power: 8
tcarrigan is on a distinguished road
Currently, you can create a single copy at at time. Writing a script will enable you to create as many copies at once as you'd like. Take a look at https://github.com/pointwise/ArrayCopyRotate
__________________
Travis Carrigan
Manager, Technical Sales
Pointwise, Inc.
tcarrigan is offline   Reply With Quote

Old   March 11, 2016, 11:52
Default
  #3
Senior Member
 
Shamoon Jamshed
Join Date: Apr 2009
Location: Karachi
Posts: 208
Rep Power: 10
Shamoon Jamshed is on a distinguished road
Send a message via Skype™ to Shamoon Jamshed
Quote:
Originally Posted by tcarrigan View Post
Currently, you can create a single copy at at time. Writing a script will enable you to create as many copies at once as you'd like. Take a look at https://github.com/pointwise/ArrayCopyRotate
I am not an expert in glyphs, it would be good if I get one in translation too.
Shamoon Jamshed is offline   Reply With Quote

Old   March 11, 2016, 11:53
Default
  #4
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 147
Rep Power: 8
tcarrigan is on a distinguished road
Shamoon,

We put together a great webcast for getting started with Glyph scripting, http://www.pointwise.com/videos/Intro-to-Scripting/.

Travis
__________________
Travis Carrigan
Manager, Technical Sales
Pointwise, Inc.
tcarrigan is offline   Reply With Quote

Old   March 14, 2016, 11:11
Default
  #5
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Pointwise HQ
Posts: 156
Rep Power: 6
dgarlisch is on a distinguished road
since you only need 100, you can do it quickly by hand:

1) select the one connector
2) Copy (Ctrl-C) and Paste (Ctrl-V)
3) Translate
4) Select the 2 (4, 8, 16, 32) connectors and goto step 2

5) When you have 64 connectors, only select the last 36
6) Copy (Ctrl-C) and Paste (Ctrl-V)
7) Translate

This is only 6 copy/paste/translate loops!
dgarlisch is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
How to show the transient case? H.P.LIU Phoenics 7 July 13, 2010 04:31
Creating multiple domains VSB CFX 4 February 21, 2007 17:20


All times are GMT -4. The time now is 00:24.