CFD Online Logo CFD Online URL
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

Get ID of property

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2020, 05:21
Default Get ID of property
New Member
Join Date: Sep 2018
Posts: 2
Rep Power: 0
h47123d is on a distinguished road
I'm trying to get the ID of some(selected properties) however I'm getting an empty list back.

I`m trying to achieve this using the GetEntityCardValues function.

Already succeded with getting the T(thicknesses) of given properties, example:
card_value1 = "T"

for pid in properties:
thickness_list.append(base.GetEntityCardValues(dec k, pid, card_value1))

returns: [{'T': 2.0}, {'T': 5.0}, {'T': 4.0}, {'T': 4.0}, {'T': 4.0}, {'T': 4.0}]

however when I try to get IDs like :
card_id = "__id__"
(or card_id = "ID")

for pid in properties:
id_list.append(base.GetEntityCardValues(deck, pid,card_id))

I get back this :

[{}, {}, {}, {}, {}, {}]

Any ideas why this happens?
Maybe solutions? thanks
h47123d is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define thermal property "Expansion" in Fluent raghuramswaroop FLUENT 1 June 18, 2018 09:38
frozen-in property of vortex line mb.pejvak Main CFD Forum 1 July 25, 2013 07:09
How to define the liquid property? alloveyou CFX 1 April 25, 2012 05:34
how to find property for compressible flow jai CFX 2 August 3, 2009 21:09
URGENT custom property for UDF Sandilya Garimella FLUENT 0 May 19, 2008 12:35

All times are GMT -4. The time now is 10:12.