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

AttributeError: 'module' object has no attribute when using CAD Translator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2018, 22:51
Unhappy AttributeError: 'module' object has no attribute when using CAD Translator
  #1
New Member
 
nicolas
Join Date: Apr 2018
Posts: 1
Rep Power: 0
nicolas.sabb is on a distinguished road
Hello all,

Anybody know how to use the script function as post actions in CAD translator?
I test a python file to execute a mesh function (mesh.fillhole)after cad data imported, but a error is shown as "AttributeError: 'module' object has no attribute 'FillHole'". If to execute a base function (base.saveas) it runs well. It looks like Translator is running without importing mesh module, is it right? Anybody know how to solve it?

Many thanks
Nick
nicolas.sabb is offline   Reply With Quote

Old   April 13, 2018, 04:07
Default
  #2
Member
 
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16
rmaries is on a distinguished road
Can you check with base.FillHoleGeom, I am assuming the converted cad contains only surfaces not FE. Check also with base.FillHoleFe, if you have FE

I am also not sure whether translator import mesh module.
rmaries 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
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 14:56
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 20:26.