AnsweredAssumed Answered

Is it possible to take advantage of built in features within the regenerate method of a macro feature?

Question asked by Johannes Kronberger on Feb 18, 2016
Latest reply on Feb 18, 2016 by Johannes Kronberger

Hi all,


I'm building a macro feature. I would like to perform a FLEX operation, wrapping a solid body around a cylinder. I can do this easily in Solidworks with the flex tool and I can write a macro to do this. However is this possible to do within the rebuild method of a macro feature.


It says here.


2011 SOLIDWORKS API Help - Rebuild Function 

No new features can be introduced and no user interaction can occur during a rebuild of a model containing a macro feature.


Now I don't actually want to create a flex feature. I just want to use the IBody2 result that comes out of it and return that as the result of the rebuild function.