BlenderBim Create drawing

edited June 2021 in General

With Blender 2.93, BlenderBIM 0.0.210605, Win10.
When trying to 'Create Drawing', I get

Python: Traceback (most recent call last):
File "C:\Users\peter\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blenderbim\bim\module\drawing\operator.py", line 100, in execute
annotation_svg = self.generate_annotation(context)
File "C:\Users\peter\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blenderbim\bim\module\drawing\operator.py", line 332, in generate_annotation
svg_writer.write("annotation")
File "C:\Users\peter\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blenderbim\bim\module\drawing\svgwriter.py", line 66, in write
self.add_markers()
File "C:\Users\peter\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blenderbim\bim\module\drawing\svgwriter.py", line 88, in add_markers
for child in root.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
location: :-1

What am I doing wrong?
Prerequisites?
Found error, Annotation was on but no annotation contained in ifc file

Comments

  • Getting the same issue, as far as i'm aware it's just constantly changing and quite unstable portion while @Moult focuses on the some other aspects for now, they just added the wall drawing tool which is amazing! and the UI was changed for that drawing generation portion so I think he will get to it, the scheduling and costing aspects were crazy extensive additions and took some time.

    duncan
  • yeah, Drawing functionality is in limbo at the time being.

    Ace
  • Yes, sorry about that. To be specific, I believe the current work is done by @aothms in allowing IfcConvert (the engine for drawing generation) to be accessible via Python with a lot more control over the process. Right now, the new drawing generation workflow is being prototyped, and only works in very controlled circumstances.

    AceDarth_Blendercarlopav
  • @Moult @aothms @theoryshaw
    Have been playing with some very simple cols and beams in order to grasp the intent of how to produce drawings, sadly not much success.
    Is there any way we can test / read prerequisites for controlling the environment?
    Does anyone have a working example we can study to try and grasp the intent?

  • Depending on the timeline for IfcConvert to be available in Python, can we wait perhaps at least until the next release?

  • @Moult said:
    Depending on the timeline for IfcConvert to be available in Python, can we wait perhaps at least until the next release?

    Sure... Just eager to make a go of it, and hopefully contribute in some way..

    Bedson
  • edited November 20

    Good morning. When I try to create some elevation drawings I get “An unkwown error occurred” report. Only one elevation (West Elevation) has been successful. I had same problem with creating some of the sections but when I deleted and created the section views again it worked but for the other three elevations it doesn’t work even after deleting and recreating them except the West Elevation. I even uninstalled and updated BB to yesterday’s version but same error surfaces as below;

    Looking forward to your help.

  • @Owura_qu hi! Can you please report it to https://github.com/IfcOpenShell/IfcOpenShell/issues and attach example .ifc to reproduce the issue?

  • edited November 20

    @Owura_qu hi! Can you please report it to https://github.com/IfcOpenShell/IfcOpenShell/issues and attach example .ifc to reproduce the issue?

    I have reported with the attached file on GitHub https://github.com/IfcOpenShell/IfcOpenShell/issues/4029. Thank you.

Sign In or Register to comment.