Exception:
New member
I've had some success working with synchronous j-link applications, but only ones that start and close with Pro-E. I'd like to also use Model Programs - ie. tied to specific part models. Specifically, I'd like to be able to pull dimensions out of the solid model (using GetGeomOutline()) and create parameters with those values.
Update:
I now have a working Model Program. However - I don't know how to get a handle to the model that the program is attached to. If I use session.GetCurrentModel it returns a model, but not necessarily the model that the program is attached to. ie. if the model is in an assembly and I open the assembly, GetCurrentModel refers to the assembly and not to the part.
Any ideas?
Thanks
-Jeremy
Update:
I now have a working Model Program. However - I don't know how to get a handle to the model that the program is attached to. If I use session.GetCurrentModel it returns a model, but not necessarily the model that the program is attached to. ie. if the model is in an assembly and I open the assembly, GetCurrentModel refers to the assembly and not to the part.
Any ideas?
Thanks
-Jeremy
Last edited: