Support Forum

[Frage] Reinforced_smartpart [Gelöst]

Schlagworte:
  • Reinforcement
  • SmartPart
  • Smartparts
  • Precast
  • Chamfer
  • Rotate
  • Plugin-Download

Hello!

I am trying to build smartparts for editable precast elements, specifically precast slabs. Now, the first question I have is: how can I create a 45 degree chamfer on the bottom of the slab? Is there a "section by surface" function, that I can then replicate on each side?

Lösung anzeigen Lösung verbergen

Hello,

You have to create the "negative" element and make a boolean operation (using GROUP functions).
Or, you can use PRISM_F or PRISM_H to get a chamfer. In your case, the chamfer is on the bottom side, so rotate or use 'SCALEZ -1' before creating your slab.


Hello,

You have to create the "negative" element and make a boolean operation (using GROUP functions).
Or, you can use PRISM_F or PRISM_H to get a chamfer. In your case, the chamfer is on the bottom side, so rotate or use 'SCALEZ -1' before creating your slab.


Thanks for replying on the thread!

So I think PRISM_F or PRISM_H are appropriate for what I need. A new issue is now regarding strings. The topic isn't covered in Allplan's SmartPart tutorial and I don't know what those are and how to fill them in the function' syntax.

I also opened a different script for a predefined SmartPart and saw that in the Dialog Script tab there was information regarding the GET_STRING function, which returned text in Allplan's interface via strings (102 was returning "Properties", 103 was returning "Elements", etc). Is this something that one has to write prior to using, or is it already built in? If it's already built in, how can I know what number returns which text?

GET_STRING allows you to integrate texts directly from Allplan (but there is no list, you have to make a loop to find out what is available...). If you want to make a SmartPart usable in all countries of the world, this may be of interest. If it's for you or your team and everyone speaks the same language, writing the text directly in quotes will be fine.


Some things seem easy but are more complicated in reality. This is the other way around. Thanks for a complete explanation!

Thank you for the feedback.
Good luck with scripts...