Posts

PY.RegExp.sub.py

import re ##Import for re or Regular Expressions ###INPUTS (Two Inputs- 0 and 1- ad inputs to python node to correspond with th [+] button) StrList = IN [ 0 ] ##Simple list of items to match regexExp = IN [ 1 ] ##Regexp string to match ##see https://docs.python.org/3.3/howto/regex.html "Regular expressions in dynamo" and ## https://regex101.com for regular expressions 101 testing RegExpSub = IN [ 2 ] ##Regexp substitution from IN[2] ##OUTPUT Outlist = [] ##Outlist TRUE if match is find for each item in list ###Initialize Regexp ###The actual RegExp compare for each item in the list for item in StrList : ## For each item in the list run a match result = re . sub ( regexExp , RegExpSub , item , 1 ) Outlist . append ( result ) ##If match is not NONE then it is a match (true) - else (false)- append that to the list for each item OUT = Outlist ##Set output to r...

REvit CAche parser for C4R files to ID Revit Files

Public fso As New FileSystemObject Public oUsrFolder As Folder Public oRvtFolder As Folder Public rvers As Integer Public ifp As String Public sfp Public GUID_FILES As ArrayList Sub LinkToJournalFiles () Set GUID_FILES = CreateObject ( "System.Collections.ArrayList" ) 'array list to manage file path, file name & CSLID pairs Set fso = CreateObject ( "Scripting.FileSystemObject" ) ''Current user (Or all users?) For Each oUsrFolder In fso.GetFolder ( "C:\users" ). subfolders ''Scan for versions of Revit ifp = oUsrFolder.Path & "\AppData\Local\Autodesk\revit" If fso.FolderExists ( ifp ) Then For Each oRvtFolder In fso.GetFolder ( ifp ). subfolders Set sfp = regexp ( oRvtFolder.Path , ".*\\(Autodesk Revit .*)\\{0,1}" ) If sfp.co...
Purge Printers from Windows 7 VBS ''''''''''Execute subs CheckArgs CleanupPrinters dim SleepTime ''globals for sleep time in Milliseconds dim quiet ''globals for no dialog dim Msg ''Message string '''''''''''----------------------------------------------------- sub CheckArgs () ''push args into array ReDim args ( WScript.Arguments.Count - 1 ) For i = 0 To WScript.Arguments.Count - 1 args ( i ) = WScript.Arguments ( i ) & "" Next For argCt = 0 to ubound ( args ) if lcase ( trim ( args ( argCt ))) = "\sleep" then argCt = argCt + 1 SleepTime = int ( args ( argCt )) msg = msg & vbCr & "\sleep=" & int ( SleepTime ) end if if lcase ( trim ( args ( ...

Front loading link names for future redirects

If we create dated front loaded link names for web pages and Google search we can use those links as received by the server in a request to forward the links to correct pages. A more complex process would snapshot pages with a GUID and their links and manage the connectivity for redirects to the corrected content or archive of the pages.

py. pair objects by assembly code to workset

import clr clr . AddReference ( 'ProtoGeometry' ) from Autodesk . DesignScript . Geometry import * #The inputs to this node will be stored as a list in the IN variables. Worksets_all = IN [ 0 ] Elements = IN [ 1 ] ##Regex to get the worksets matching the assembly criteria ## https://stackoverflow.com/questions/7014674/in-python-how-do-i-remove-from-a-list-any-element-containing-certain-kinds-of-c import re ##NOTE This is REgular EXpressions - a powerful pattern matching language regex = re . compile ( r"([abcdefglABCDEFGL]\d{2})|([Ww]orkset 1)" , re . IGNORECASE ) ## ABCD follow by 2 numbers #L added for airport special ##Iteration over list i[0] is NAME to comare #Worksets = filter(lambda i: regex.search(i[0]), Worksets_all) ##Also works Worksets = [ i for i in Worksets_all if regex . search ( i [ 0 ])] ##Each list item [0] soud be name stdout = list () for element in Elements : ##Iterate element list for w...

Denver jobs plentiful, skilled labor lagging.

https://www.linkedin.com/jobs/blog/linkedin-workforce-report-february-2018-denver-co
https://youtu.be/4loraLRwRP8

Walabot DIY Smart Stud Finder Sees 4 Inches Into Your Walls | Walabot

Walabot DIY Smart Stud Finder Sees 4 Inches Into Your Walls | Walabot : 'via Blog this'

Login

Login : Sound Design Strategies for Architectural Acoustic Design Webinar Available On-Demand 'via Blog this'

Re: browsing model files in the cloud (A360 C4R) - Autodesk Community

Re: browsing model files in the cloud (A360 C4R) - Autodesk Community : "/ get cloud document/model and project name string docName = CollaborateUtils.DocumentFileName(e.Document); string modelName = null; string projectName = null; var docNameSplit = docName.Split(new char[1] { '/' }, StringSplitOptions.RemoveEmptyEntries); modelName = docNameSplit.Last(); projectName = docNameSplit[1]; // find the current project and model id var cloudProjects = CollaborateUtils.GetCloudProjects(e.Document); var currProject = cloudProjects.FirstOrDefault(cp => String.Equals(cp.Name, projectName, StringComparison.CurrentCultureIgnoreCase)); var models = SynchronousManagementClientAccess.GetModels(currProject.Id); var currModel = models.FirstOrDefault(m => String.Equals(m.Name, modelName, StringComparison.CurrentCultureIgnoreCase)); // publish to BIM360 cloud VersioningClientFactory versioningClientFac = new VersioningClientFactory(); IVersioningClient versioningClient ...

Revit to Infraworks Highlights

Revit import to Infraworks Navis 3D View in Revit: https://youtu.be/Y-vdLl5NREo?t=957 Revit Materials: 3D view for exporting standard textures (Customized textures don't export in this tutorial): https://youtu.be/Y-vdLl5NREo?t=1912    Navisworks to manage export settings to translate Revit files: https://youtu.be/Y-vdLl5NREo?t=2028 Alternates FBX and Colada (Maintaining rotation and location) https://youtu.be/Y-vdLl5NREo?t=2091  revit not on roadmap!? FBCX or IFC acceptable. Lat Long in Infraworks Point Of Interest POI: https://youtu.be/Y-vdLl5NREo?t=2151 Script for exporting POI Lat Long from infraworks: https://youtu.be/Y-vdLl5NREo?t=2223  FBX (No basepoints user origin point)  https://youtu.be/Y-vdLl5NREo?t=2328 Transmuting coordinates in Revit to Infraworks for FBX https://youtu.be/Y-vdLl5NREo?t=2627 'Does Infraworks use NWC files'? https://youtu.be/Y-vdLl5NREo?t=2748 Fro...

REvit.Excel.Python node for writing (new) excel files

###Export Excel - intended to replace malfunctioning excel node ### Ron.Allen@AECOM.com import clr import System clr . AddReferenceByName ( 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' ) ##AddReferenceGUID("{00020813-0000-0000-C000-000000000046}") ''Excel C:\Program Files\Microsoft Office\Office15\EXCEL.EXE ##Need to Verify interop for version 2015 is 15 and node attachemnt for it. from Microsoft . Office . Interop import * ##Excel ################################Initialize FP and Sheet ID ##Same functionality as the excel node strFileName = IN [ 0 ] ##Filename sheetName = IN [ 1 ] ##Sheet RowOffset = IN [ 2 ] ##RowOffset ColOffset = IN [ 3 ] ##COL OFfset Data = IN [ 4 ] ##Data Overwrite = IN [ 5 ] ##Check for auto-overwtite XLVisible = F...

Search the Uniformat file & Set the Parameter – Boost Your BIM

Uniformat searcher! Search the Uniformat file & Set the Parameter – Boost Your BIM : 'via Blog this'

Why You Hate Contemporary Architecture | Current Affairs

Too true! damn blobitecture (Thanx Bodae for sharing!) Why You Hate Contemporary Architecture | Current Affairs : 'via Blog this'
http://labs.blogs.com/its_alive_in_the_lab/2017/10/autodesk-adopts-its-own-company-wide-human-interface-guidelines.html

What is wrong with the government and he system with common sense ways to fix it.

It is all just rhetoric. Trumps ‘voting base’ was targeted to put him over as they been legally and ploitically oppressed resulting from that base's physical opression directed to anyone who wasnt white or male from the 1880s to the 1980s particularly the 1940s on. It is a double standard created by Dems. And bastardized by the Republicans. Something to repair and balance inequality HAS BEEN TWISTED to repress white folks and balance things at any cost. That oppressed and disenfranchised group is Trumps voting base. His campaign managers knew where to scrape to get those votes. Combine that with the Republican gerrymandering that has been rampant the past 40 years in redistricting, NOW an epidemic proportions in the past 10 years those factors led to Success for the wrong reasons. An absolute Political system FAIL. Hilary used her strong arm political tactics, money and connections to push Bernie Sanders out, believing if a black man could run two terms, surely she could g...

Google uncovers Russia-backed ads on YouTube, Gmail - Technology & Science - CBC News

Image
Google uncovers Russia-backed ads on YouTube, Gmail - Technology & Science - CBC News : 'via Blog this' Google has discovered Russian operatives spent tens of thousands of dollars on ads on its YouTube, Gmail and Google Search products in an effort to meddle in the 2016 U.S. presidential election, a person briefed on the company's probe told Reuters on Monday. The ads do not appear to be from the same Kremlin-affiliated entity that bought ads on Facebook Inc, but may indicate a broader Russian online disinformation effort, according to the source, who was not authorized to discuss details of the confidential investigation by Alphabet Inc's Google. Microsoft Corp said separately on Monday that it was looking at whether Russians bought U.S. election ads on its Bing search engine or other Microsoft-owned products and platforms. A spokeswoman for the company declined to comment further. U.S. intelligence agencies have conclu...

Google uncovered Russia-backed ads on YouTube, Gmail : source | Reuters

Image
Google uncovered Russia-backed ads on YouTube, Gmail : source | Reuters : 'via Blog this' Discover Thomson Reuters Directory of sites Login Contact Support Google uncovered Russia-backed ads on YouTube, Gmail : source #CYBER RISK OCTOBER 9, 2017 / 11:26 AM / 2 DAYS AGO Google uncovered Russia-backed ads on YouTube, Gmail : source Dustin Volz 5 MIN READ WASHINGTON (Reuters) - Google has discovered Russian operatives spent tens of thousands of dollars on ads on its YouTube, Gmail and Google Search products in an effort to meddle in the 2016 U.S. presidential election, a person briefed on the company’s probe told Reuters on Monday. The ads do not appear to be from the same Kremlin-affiliated entity that bought ads on Facebook Inc ( FB.O ), but may indicate a broader Russian online disinformation effort, according to the source, who was not authorized to discuss details of the confidential investigation by Alphabet Inc’s ( GOOGL.O ) Google. Microsoft Corp ( MSFT.O ) said separa...