Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] Creating sections, views and dimensions


Hi, I have completed the 3D object model code. Now I want to create its section views with dimensions. I could not find pure examples for this. How can I do it?

Anhänge (1)

Typ: image/png
30-mal heruntergeladen
Größe: 7,40 KiB

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Hi,

the creation of associative views and sections together with placing dimension lines is shown inn the SectionAndViews example, located in

  • etc/PythonPartsExampleScripts/ReinforcementExamples/SectionAndViews.py
  • etc/Examples/PythonParts/ReinforcementExamples/SectionAndViews.pyp

Note, that currently not all options and settings of Views and Sections are accessible through the API. The same refers to dimension lines. Have a look on the example, to see what is possible.

Best,
Bart

Hi,

the creation of associative views and sections together with placing dimension lines is shown inn the SectionAndViews example, located in

  • etc/PythonPartsExampleScripts/ReinforcementExamples/SectionAndViews.py
  • etc/Examples/PythonParts/ReinforcementExamples/SectionAndViews.pyp

Note, that currently not all options and settings of Views and Sections are accessible through the API. The same refers to dimension lines. Have a look on the example, to see what is possible.

Best,
Bart

Hi Bart, thanks for the reply. I have been working on that example for 2 days and the main problem occurs with the creation methods. I have created my object with staticmethod and build_ele methods. Since the sections and view example also creates a model with self. method, I am having a hard time to rebuild the code for my object. What do you suggest?