Hello guys,
I know that the question is quite tough.
I would like to read the contents of the BCFzip file exported from Tekla BIM Sight or BIM Vision or whatever.
I know that I can simply extract the file as a simple archive with 7zip or WINRAR or WinZip and then read the .bcf and .bcfv files inside it like simple XMLs.
I would like to skip the manual unzipping part though.
I would like to feed Dynamo with .bcfzip file, so it can read it without extracting.
I’ve searched the Internet and found answers that it is in fact tough. No solutions.
Any idea would be appreciated.
I’m getting somewhere.
Python code with CMD and 7zip was the way to go.
It leaves me with extracted BCFzip in a folder though.
Below is the Python code:
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
import sys
sys.path.append(r'C:\Program Files (x86)\IronPython 2.7\Lib')
import subprocess
dataEnteringNode = IN
try:
subprocess.check_call(IN[0])
except subprocess.CalledProcessError:
pass # handle errors in the called executable
except OSError:
pass # executable not found
OUT = 0
Hey Buddy,
eventhough this topic is long ago i would like to hear/sea your results in this topic.
i am going through this pain right now and would appreciate any kind of advice.
Thanks in advance
I didn’t continue the topic and left it as described in my last post.
At the moment I think that the only solution is to use Windows command line and a 3rd party software like 7zip (which can be executed within command line). Navigate to bcfzip, unpack, read, delete unpacked files.
but did it work out for you with that workflow?
i mean all i want is to get the information from a
zipped bcf-file… and i dont care if its necessary to have
3rd party software as long as its working.
It is and was working, as described in the post with the screenshots.
Let me clarify. Reading the contents of the files was not the issue mentioned in this topic. The issue was only to open the bcfzip files without extraction.
Reading the content of these files depends on your knowledge about their structure.
do you know a way how to create a bcfzip from folders filled with markups, viewpoints and snapshots ?
i tried with 7zip and hat stuff… but i can read the bcfzip in BCF-plugins afterwards