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

GroupDatasets for more than 255 objects

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2017, 10:39
Default GroupDatasets for more than 255 objects
  #1
New Member
 
Join Date: Feb 2017
Posts: 2
Rep Power: 0
Samourai is on a distinguished road
Hi!

I am new with paraview and I face a problem. I developped a code that generates a python script to run in Paraview in order to visualise the results. I have a lot of disks sources that I want to group together to make operations on it such as "cut by slices" etc... I use the function GroupDatasets(disk1,disk2...). But when I exceed more than 255 parameters the python console yell at me "SyntaxError: more than 255 arguments". And this function cannot take a list of sources as a parameter... Any ideas ?
Samourai is offline   Reply With Quote

Old   February 16, 2017, 06:44
Default
  #2
New Member
 
Join Date: Feb 2017
Posts: 2
Rep Power: 0
Samourai is on a distinguished road
Finally found :

groupDatasets1 = GroupDatasets(Input=[object1, object2...]) with as many objects as you want
Samourai is offline   Reply With Quote

Reply

Tags
groupdatasets, paraview, python, script

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
Multiple Floating Objects with 6DoF in OF 2.3.0 tyoung OpenFOAM Running, Solving & CFD 9 December 22, 2016 10:39
Floating objects in water flow: which tools and how much effort ? TomGratte1 Main CFD Forum 0 December 29, 2013 11:43
[Other] mesh generation for sloping objects yuyingyuni ANSYS Meshing & Geometry 0 March 15, 2013 03:46
Error in CFX Solver Leuchte CFX 5 November 6, 2010 07:12
Warning when I add my objects Xu Phoenics 0 November 21, 2008 13:30


All times are GMT -4. The time now is 13:31.