koenr Posted January 26 Share Posted January 26 Hello, I have created a custom PointObject for SlabFoundations. (see picture) Everthing is working just fine but i was wondering if there is a special event where i can decide what to do when i draw a 2d shape over it and want to cut it out of the geometry. If this is possible please let me know and maybe a small example on how to go about it. Thanks in advance 😄 def main(): if event == kObjOnInitXProperties: setlayout() elif event == kResetEventID: vs.SetClass(objecthandle, klasse_object) set_by_class(objecthandle) if bovennet: vs.EnableParameter(objecthandle, "Type_BN", True) else: vs.EnableParameter(objecthandle, "Type_BN", False) if ondernet: vs.EnableParameter(objecthandle, "Type_ON", True) else: vs.EnableParameter(objecthandle, "Type_ON", False) if exclplaat: vs.EnableParameter(objecthandle, "Plaatdikte", True) else: vs.EnableParameter(objecthandle, "Plaatdikte", False) create_object() calc_opp() calc_vol() Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.