Posts

Event Registration

Event R ecording: "Building World-Class Cloud Solutions" 'via Blog this'

Set Assembly Code file - Dynamo

Set Assembly Code file - Dynamo : # Default imports import clr clr . AddReference ( "RevitAPI" ) clr . AddReference ( "RevitNodes" ) from Autodesk . Revit . DB import * ################################# import Revit ################################# clr . ImportExtensions ( Revit . GeometryConversion ) ################################# clr . ImportExtensions ( Revit . Elements ) ################################# # Import DocumentManager and TransactionManager################################## clr . AddReference ( 'RevitServices' ) ################################# import RevitServices ################################# from RevitServices . Persistence import DocumentManager ######################### from RevitServices . Transactions import TransactionManager ##################### doc = DocumentManager ....

Python Script node for Notepad.exe. Possible? - Developers - Dynamo

Python Script node for Notepad.exe. Possible? - Developers - Dynamo : import clr clr . AddReference ( "RevitAPIUI" ) from Autodesk . Revit . UI import TaskDialog ##Import task dialog ##from datetime import datetime ##Formatting date time strings for files import time ##Time as in NOW or tiem string format functions import sys ##Validate thie is here and avaiable######### sys . path . append ( r'C:\Program Files (x86)\IronPython 2.7\Lib' ) import subprocess ##Launching asynchronus processess like notepad import os ##Operating system - CASE SENSITIVE msg = IN [ 0 ] ##DAta in 0 ##msgbox=TaskDialog ##Task Dialog astr = "" ##STR for formatting for i in msg : ##BIG MESSAGE LIST sst...

TOF Cameras

So I have been thinking for a while- if I had a motion picture or multiple pictures and a special light and a special FILM or CMOS to capture that light- I could measure the reflection of the special light to get an approximation of depth. Thinking about LIDAR and  fixed sensors - I realized this could be taken a step further- capturing the TOF (Time of flight) of light at different intervals using a MOSFET or similar super-fast action capture device. Apparently there are similar items on the web called TOF Cameras... https://www.baslerweb.com/en/support/ Support | Basler : 'via Blog this'

RSMEANS Python REGEXP extractions

Attribute VB_Name = "RSUnits" Option Explicit ''Constants for reference of unit types in RSMEANS '' Floor, concrete, slab form, open web bar joist @ 2' OC, on W beam and wall, 30'x30' bay, 29" deep, 65 PSF superimposed load, 110 PSF total load, for columns add Public Const VBQT = """" ''these use named regexp returns based in python ''Public Const Regex_BAY+PYTHON = "(?:(?P \d{1,})((?P \'|\" & VBQT & "|ft|in))\W{0,}x\W{0,}(?P \d{1,})(?P \'|\" & VBQT & "|ft|in)\W{0,}bay)" Public Const Regex_BAY = "(?:([\d\.]{1,})((\'|\" & VBQT & "|ft|in))\W{0,}x\W{0,}(\d{1,})(\'|\" & VBQT & "|ft|in)\W{0,}bay)" Public Const Regex_Addon = "(?:for\W{0,}(?P \b.+\b)\W{0,}add)\W{0,}" ''Public Const Regex_SPACE+python = "(?:.+,(?P .+?)(\@\W{0,}(?P \d{1,})((?P \'...