Delete components in jlink
Hello
I need to delete some components in an assembly with jlink. I noticed the method Model.Delete() but when i use it nothing seems to be deleted.
I havent seen any examples with this method call.
Thank you
Regards
Hello
I need to delete some components in an assembly with jlink. I noticed the method Model.Delete() but when i use it nothing seems to be deleted.
I havent seen any examples with this method call.
Thank you
Regards
Model.Delete() cause to remove model from session and disk. To remove model from assembly you need to consider the model as feature (ComponentFeat). You then need to perform component operation on this feature. To remove feature you need to create delete ops and then executre the ops.
pfcSolid.Solid.ExecuteFeatureOps
pfcFeature.Feature.CreateDeleteOp
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.