CustomFeature

Hi there - I am playing with the (newish) CustomFeature capabilities and have successfully created one which works. Has anybody managed to create instances of their custom features from code?? The method SetConstructionFeatures can only be accessed through a dialog box event - and because I am not running interactively I have no dialog.

The parts created by my code do contain my code called instances but the contain no geometry until you edit and ok/apply on that feature.

Any ideas of how I can make this work??

Thanks,

Paul

The only examples of custom features that I've seen were put out by GTAC and Frank Swinks (on the Siemens community forum). I'm guessing that you have already seen all of those. I've looked through some of the code, but never tried it out for myself as I don't currently have access to an author license. Perhaps you need to create a custom "builder" object for your feature? I don't know...

Your question sounds like a very good one for GTAC. I've opened a few "how do I use this function" type questions with them and they have been very helpful. Or maybe Frank will post something here if we are lucky.

Hello everyone,

I've tried running the sole example 'CompositeCurve' in Python, but unfortunately, without success. Has anyone managed to create a CustomFeature in Python?