This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Autodesk Revit addins are generally loaded from the following locations. | |
User Addins: | |
%appdata%\Autodesk\Revit\Addins\ | |
Machine Addins (for all users of the machine): | |
C:\ProgramData\Autodesk\Revit\Addins\ | |
Addins packaged for the Autodesk Exchange store: | |
C:\ProgramData\Autodesk\ApplicationPlugins\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clr | |
import pprint | |
import sys | |
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib' | |
sys.path.append(pyt_path) | |
from Autodesk.Revit.DB import * | |
# Set Revit document | |
doc = __revit__.ActiveUIDocument.Document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -m http.server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="./Viewer3D.js" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%LocalAppData%\Autodesk\Revit\Autodesk Revit 2019\CollaborationCache\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canvas { | |
margin: 0; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
-ms-transform: translate(-50%, -50%); | |
transform: translate(-50%, -50%); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import picamera | |
import time | |
camera = picamera.PiCamera() | |
#camera.vflip = True | |
camera.start_preview(fullscreen=False, window=(100,100,256,192)) | |
# Terminate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Autodesk.Revit.ApplicationServices; | |
using Autodesk.Revit.DB; | |
using Autodesk.Revit.UI; | |
namespace ObjExport | |
{ | |
internal class ElementCollect | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<div id="nav"> | |
<!-- <pre><code class="javascript">console.log('hi")</code></pre> --> | |
<div class="flex-container"> | |
<div class="flex-item"> | |
<router-link to="/">Home</router-link> | |
</div> | |
<div class="flex-item"> | |
<router-link to="/colors">Colors</router-link> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import defaultExport from "module-name"; | |
import * as name from "module-name"; | |
import { export1 } from "module-name"; | |
import { export1 as alias1 } from "module-name"; | |
import { export1 , export2 } from "module-name"; | |
import { foo , bar } from "module-name/path/to/specific/un-exported/file"; | |
import { export1 , export2 as alias2 , [...] } from "module-name"; | |
import defaultExport, { export1 [ , [...] ] } from "module-name"; | |
import defaultExport, * as name from "module-name"; | |
import "module-name"; |
OlderNewer