This file contains hidden or 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
| p5 generate -b projectName | |
| Use ServerName = (LocalDb)\MSSQLLocalDB |
This file contains hidden or 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 tensorflow as tf | |
| import os | |
| os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' |
This file contains hidden or 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 UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace Tutorial | |
| { | |
| public class SelectionSquare : MonoBehaviour | |
| { | |
| public Camera Camera; | |
| [SerializeField] |
This file contains hidden or 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; | |
| using UnityEngine; | |
| using System.Collections; | |
| public class GamepadFlycam : MonoBehaviour | |
| { | |
| public float cameraSensitivity = 90; |
This file contains hidden or 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; | |
| using UnityEngine; | |
| using System.Collections; | |
| public class GamepadFlycam : MonoBehaviour | |
| { | |
| public float cameraSensitivity = 90; |
This file contains hidden or 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
| FilteredElementCollector allElementsInView = new FilteredElementCollector(document, document.ActiveView.Id); | |
| IList elementsInView = (IList)allElementsInView.ToElements(); |
This file contains hidden or 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
| public static class Configuration | |
| { | |
| public static readonly string ArchcorpAddinFolderPath = @"O:\IT\4th Door\Ali Asad\Projects\Revit Addins\Test Archcorp Addins\"; | |
| public static readonly string AutodeskRevitAddinFolderPath = $"C:\\Users\\{Environment.UserName}\\AppData\\Roaming\\Autodesk\\Revit\\Addins\\"; | |
| public static readonly List<string> AutodeskVersion = new List<string> { @"2015\", @"2017\", @"2018\", @"2019\" }; | |
| public static readonly string DeleteAddinNamePrefix = "delete_"; | |
| } |
This file contains hidden or 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
| /// <summary> | |
| /// Run Revit commands using Win32 API | |
| /// </summary> | |
| public class Win32Api | |
| { | |
| [DllImport("user32.dll")] | |
| private static extern IntPtr GetForegroundWindow(); | |
| [DllImport("user32.dll")] | |
| static extern bool SetFocus(IntPtr hWnd); |
This file contains hidden or 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
| class App : IExternalApplication | |
| { | |
| public static PushButton Pushbutton { get; set; } | |
| public Result OnStartup(UIControlledApplication application) | |
| { | |
| OnButtonCreate(application); | |
| return Result.Succeeded; | |
| } |
This file contains hidden or 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
| public class FParameterData | |
| { | |
| public string Family { get; set; } | |
| public string BuiltinParameter { get; set; } | |
| public string ParameterType { get; set; } | |
| public string ParameterName { get; set; } | |
| public string ParameterValue { get; set; } | |
| public string ParameterGroup { get; set; } | |
| public string BuiltinGroup { get; set; } |
NewerOlder