Please wait...
×

Error



Posted 14 years ago 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 14 years ago by Denim Umeshkumar Anajwala
At the moment the answer is no.
Posted 13 years ago by Denim Umeshkumar Anajwala
re: Peter's Reply
Is this still the case?
Posted 13 years ago by Denim Umeshkumar Anajwala
Still the same...
Posted 10 years ago 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 10 years ago by psinton@aquageo.us
you could probably do what you need via "user data" distributions

Pete
Posted 10 years ago 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 9 years ago 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 9 years ago 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.