Skip to content

is there any way to make output slot on Data mining on script? #359

Answered by rfahlberg
Knam-Ansys asked this question in Q&A
Discussion options

You must be logged in to vote

@Knam-Ansys With 25R1,you should be able to do the following:

# create the DataMining node as in your script, but the node type is IntegrationNode
filter_node: IntegrationNode = root_system.create_node(type_='DataMining', name="Data Mining")

# set the filters/properties as in your script
# ...

# Load/Initialize the DataMining node in order to be able to register the locations
filter_node.load()

# Register the location as output slot
# This should work exactly as in your script, but name and reference_value parameters are not needed
filter_node.register_location_as_output_slot(location='OValidatedMDBPath')

For the property editing you can use the explicit API function (set_property) as…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Knam-Ansys
Comment options

Comment options

You must be logged in to vote
1 reply
@Knam-Ansys
Comment options

Comment options

You must be logged in to vote
1 reply
@Knam-Ansys
Comment options

Comment options

You must be logged in to vote
2 replies
@rfahlberg
Comment options

Answer selected by rfahlberg
@Knam-Ansys
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants