BlenderBim Create drawing

edited June 7 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
Sign In or Register to comment.