Hi all,
what can I do to suppress or skip the popup window after an Autocontact, so that the Python code can run automatically? (I have to click on either one of the button, otherwise HyperMesh wouldn't continue)
When using the Python API Recording tool, the following tip was given:
collection = hm.Collection(model, hm.FilterByEnumeration(ent.Component, ids=[1, 2]))
# [TIP]: Command triggers popup window. Enable 'Ignore popups' to ignore it when running the script.
model.detectandcreateface2facecontacts(…)
So I followed the recommended tip and added model.hm_answernext("yes") and other variations f.ex. "Ok", "Close" or "x". But neither of them works.
I also tried adding hm.setoption(block_messages=1), which doesn't work either.
So, what other options do I have?