C++ toolkit how to recognize predefined flexibility
I am working on creating an application to insert parts into an assembly. I want to be able to recognize that a model being has predefined flexibility. When operating Creo manually if you insert a model with predefined flexibility Creo will tell you that and ask if you want to use it. However there does not seem to be an equivalent function in the C++ toolkit.
What I have been trying to use is the method wfcWModel::isVariantFeatModel(), however this always returns false. I have tried using pfcSession::RetrieveModel() and pfcSession::GetModelFromFilename() to retrieve the model before checking it, but both yield the same result.
I am hoping that someone may have some insight to make this work.
I will also note that the method wfcWComponentFeat::IsFlexible() exists but this will only recognize components that already have flexibility 'turned on'

