Support Forum

[Question] ReinforcementExamples/SectionsAndViews doesn't work correctly [Solved]

Tags:
  • Allplan
  • 2020
  • PythonParts
  • Reinforcement
  • Views
  • And
  • Sections

Hello,
I've some problems with run script "Section and Views" from Reinforcement Examples.
First of all, I can see error with different types of views while reinforcing(attachment 1).
Then I'm receving another information about bars labeling (attachment 2).
Finally I can't see bars in sections and I can't edit anything due some another error- the same as at beginning of script.

I've tried run script in new project. How can I fix it and run it correctly?

Best regards,
Krzysztof

Attachments (2)

Type: image/png
Downloaded 33 times
Size: 6,64 KiB
Type: image/png
Downloaded 16 times
Size: 3,60 KiB

Show solution Hide solution

Hello Horst,
Unfortunately it didn't work. I had tried do it in new empty project and I've received the same errors.

EDIT:
Finally works. The most important thing is do it in right order:
1. Using of empty drawing file.
2. Create PythonParts without reinforcement- only geometry (hide reinforcement).
3. Create section or view from newer section.
4. Show reinforcement in PP.
Then reinforcement is showing in newer section/view. Finally after that using PP with reinforcement and create newer section/view is allowed.

Thank you Horst for you reply, that really helped me to looking for solution.

Best regards,
Krzysztof

Hello Krzystof,

please use an empty drawing file for the testing. This script creates UVS and it seems you have the old engineering views in your drawing file.

Best regards
Horst

Hello Horst,
Unfortunately it didn't work. I had tried do it in new empty project and I've received the same errors.

EDIT:
Finally works. The most important thing is do it in right order:
1. Using of empty drawing file.
2. Create PythonParts without reinforcement- only geometry (hide reinforcement).
3. Create section or view from newer section.
4. Show reinforcement in PP.
Then reinforcement is showing in newer section/view. Finally after that using PP with reinforcement and create newer section/view is allowed.

Thank you Horst for you reply, that really helped me to looking for solution.

Best regards,
Krzysztof