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
bool InContext(UIApplication application) | |
{ | |
try | |
{ | |
void Application_Idling(object sender, Autodesk.Revit.UI.Events.IdlingEventArgs e) { } | |
application.Idling += Application_Idling; | |
application.Idling -= Application_Idling; | |
return true; | |
} | |
catch { } // Invalid call to Revit API! Revit is currently not within an API context. |
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
<!-- Net Core --> | |
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net4'))"> | |
<EnableDynamicLoading>true</EnableDynamicLoading> | |
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> | |
<GenerateDependencyFile>false</GenerateDependencyFile> | |
</PropertyGroup> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" | |
DefaultTargets="PrintValues" | |
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Add>$([MSBuild]::Add(5,9))</Add> | |
<Subtract01>$([MSBuild]::Subtract(90,768))</Subtract01> | |
<Mult01>$([MSBuild]::Multiply(4,9))</Mult01> | |
<Div01>$([MSBuild]::Divide(100,5.2))</Div01> |
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
avr\bin\avrdude | |
avr\bin\avrdude -C avr\etc\avrdude.conf -c usbasp -p atmega328p -U flash:w:"Blink.ino.with_bootloader.standard.hex":i -v | |
@pause |
NewerOlder