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

ANSA Scripting Show certain parts

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2018, 19:22
Default ANSA Scripting Show certain parts
  #1
New Member
 
wkg
Join Date: May 2018
Posts: 2
Rep Power: 0
gohwaikien is on a distinguished road
Hi,

I have a list of part names that I want to show visible in ANSA. For example, if i have a list of files named as follow:
1) partA
2) partB
3) partC
and i want to show all of them in my ANSA model, how would I do that?

At the moment, I was able to show part individually in my model by doing as below.

base.SetCurrentDeck(constants.ABAQUS)
types = base.TypesInCategory(constants.ABAQUS, "__PROPERTIES__")
props = base.CollectEntities(constants.ABAQUS, None, types)

for prop in props:
base.Or(prop)
gohwaikien is offline   Reply With Quote

Reply

Tags
ansa scripting, automation, search


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
How to rotate plane(360 degree) using ANSA scripting. Renu123 ANSA 1 March 14, 2018 19:26
ANSA Scripting sapnite ANSA 1 March 14, 2018 19:14
How to find center of model using ANSA Scripting? Renu123 ANSA 5 October 2, 2017 07:14
Ansa Python Scripting Renu123 ANSA 1 September 16, 2017 13:45
Is there a way to show volume element thickness in ANSA? ismashfaces ANSA 0 January 21, 2015 05:05


All times are GMT -4. The time now is 05:04.