Latest BIM does not work in V0.18

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Latest BIM does not work in V0.18

Post by Roy_043 »

FYI: The latest BIM download does not work properly in V0.18. Switching to the BIM WB is not possible. The following error is displayed:
class _CommandStructure has no attribute '__init__'
Traceback (most recent call last):
File "<string>", line 110, in Initialize
File "C:\Users\UserName\AppData\Roaming\FreeCAD\Mod\BIM\BimCommands.py", line 402, in __init__
ArchStructure._CommandStructure.__init__(self)
Last edited by Roy_043 on Sat Oct 12, 2019 8:25 am, edited 1 time in total.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Latest BIM does not work in V0.18

Post by vocx »

Roy_043 wrote: Fri Oct 11, 2019 5:59 pm ...
class _CommandStructure has no attribute '__init__'
Is there more to this error? It is complaining about a missing __init__() function, but it is there.

https://github.com/FreeCAD/FreeCAD/blob ... re.py#L188

Code: Select all

class _CommandStructure:

    "the Arch Structure command definition"

    def __init__(self):

        self.beammode = False
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Latest BIM does not work in V0.18

Post by yorik »

Should be fixed now! However, in 0.18, both the column and beam tools will work exactly the same...
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Re: Latest BIM does not work in V0.18

Post by Roy_043 »

The fix seems to work here. Thank you Yorik.

Code: Select all

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.18.16093 +38 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.3)
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Dutch/Netherlands (nl_NL)
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Re: Latest BIM does not work in V0.18

Post by Roy_043 »

MaxP may be a spammer (off-topic link in signature).
chrisb
Veteran
Posts: 54308
Joined: Tue Mar 17, 2015 9:14 am

Re: Latest BIM does not work in V0.18

Post by chrisb »

Thanks for reporting! I removed all of his posts and banned him.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply