Posted Thu, 23 Jun 2011 10:10:57 GMT by fubzot
Is it possible to manipulate "Stored element/node selections" from an IFM?

In addition is it possible to add elements to current selection from an IFM?
Posted Mon, 04 Jul 2011 06:54:35 GMT by Denim Umeshkumar Anajwala
At the moment the answer is no.
Posted Mon, 23 Apr 2012 15:55:23 GMT by Denim Umeshkumar Anajwala
re: Peter's Reply
Is this still the case?
Posted Fri, 04 May 2012 13:00:06 GMT by Denim Umeshkumar Anajwala
Still the same...
Posted Thu, 11 Jun 2015 17:58:42 GMT by Thomas Chung Senior Hydrogeologist
Is this still the same case? I wonder whether the Python-ifm function can do this?
Just I need to do a lot of post processing to export hydraulic heads for selected node selections in different time steps.
If still the same case, hope DHI can put this on the wish-list. 
Posted Tue, 16 Jun 2015 16:10:44 GMT by psinton@aquageo.us
you could probably do what you need via "user data" distributions

Pete
Posted Tue, 30 Jun 2015 13:45:14 GMT by Denim Umeshkumar Anajwala
I fully agree with Pete: If you only need to select nodes, you can create a User Data distribution with specific values for the selected nodes. With a loop over all nodes you can then easily identify the nodes you need.
Posted Mon, 13 Jun 2016 07:34:59 GMT by Stephan Dueber
Hello Peter, which function would i use to identify nodes with a user data distribution?
In the IFM API Index i can't find a function like this.

Stephan
Posted Mon, 12 Sep 2016 08:25:54 GMT by Denim Umeshkumar Anajwala
For selections, use (in FEFLOW 6.206 and higher):
IfmGetNumberOfSelections
IfmGetSelectionCapacity
IfmFindSelection
IfmCreateSelection
IfmDeleteSelection
IfmGetSelectionName
IfmEnumSelectionItems
IfmSelectionItemIsSet
IfmSetSelectionItem
IfmClearSelectionItem


For (non-expression type) User Data distributions, there are the following API functions:
IfmGetNumberOfNodalRefDistr , IfmGetNumberOfElementalRefDistr , IfmGetNodalRefDistrName , IfmGetElementalRefDistrName , IfmGetNodalRefDistrIdByName , IfmGetElementalRefDistrIdByName , IfmGetNodalRefDistrValue , IfmGetElementalRefDistrValue , IfmSetNodalRefDistrValue , IfmSetElementalRefDistrValue , IfmCreateNodalRefDistr , IfmDeleteNodalRefDistr , IfmDeleteElementalRefDistr , IfmEnableNodalRefDistrRecording , IfmEnableElementalRefDistrRecording , IfmGetNumberOfNodalExprDistr , IfmGetNumberOfElementalExprDistr , IfmGetNodalExprDistrName , IfmGetElementalExprDistrName , IfmGetNodalExprDistrIdByName , IfmGetElementalExprDistrIdByName , IfmGetNodalExprDistrValue , IfmGetElementalExprDistrValue , IfmGetNodalRefDistrValueAtXYSlice , IfmGetNodalRefDistrValueAtXYZ


For expression-based ones, use:
IfmGetNumberOfNodalExprDistr
IfmGetNumberOfElementalExprDistr
IfmGetNodalExprDistrName
IfmGetElementalExprDistrName
IfmGetNodalExprDistrIdByName
IfmGetElementalExprDistrIdByName
IfmGetNodalExprDistrValue
IfmGetElementalExprDistrValue

You must be signed in to post in this forum.