added Revit 2022 SDK minus except *rvt and *rfa
@@ -0,0 +1,26 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PyramidGenerator", "PyramidGenerator\PyramidGenerator.csproj", "{57524E1D-9B27-43DF-BF44-978026BA1EDF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PyramidGeneratorStart", "PyramidGenerator\Additional\AREXStart\PyramidGeneratorStart.csproj", "{8F7B8416-87C0-40E4-8256-77A624DBA940}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{57524E1D-9B27-43DF-BF44-978026BA1EDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{57524E1D-9B27-43DF-BF44-978026BA1EDF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{57524E1D-9B27-43DF-BF44-978026BA1EDF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{57524E1D-9B27-43DF-BF44-978026BA1EDF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8F7B8416-87C0-40E4-8256-77A624DBA940}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8F7B8416-87C0-40E4-8256-77A624DBA940}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8F7B8416-87C0-40E4-8256-77A624DBA940}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8F7B8416-87C0-40E4-8256-77A624DBA940}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.Start
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
|
||||
RunExtension(@"P:\PyramidGenerator\PyramidGenerator\bin\Debug\PyramidGenerator.dll", "2018");
|
||||
}
|
||||
|
||||
static System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
static void RunExtension(string FullPath, string VersionName)
|
||||
{
|
||||
REXApplicationInstance applicationInstance = new REXApplicationInstance();
|
||||
if (applicationInstance.LoadExtension(FullPath, "REX.PyramidGenerator.Application"))
|
||||
{
|
||||
REXContext context = new REXContext();
|
||||
|
||||
context.Control.Mode = REXMode.Dialog;
|
||||
context.Control.ControlMode = REXControlMode.ModalDialog;
|
||||
context.Product.Type = REXInterfaceType.Common;
|
||||
context.Control.Parent = null;
|
||||
|
||||
REXEnvironment environment = new REXEnvironment(VersionName);
|
||||
if (environment.LoadEngine(ref context))
|
||||
{
|
||||
if (applicationInstance.Extension.Create(ref context))
|
||||
applicationInstance.Extension.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("AREXStart")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("robobat")]
|
||||
[assembly: AssemblyProduct("AREXStart")]
|
||||
[assembly: AssemblyCopyright("Copyright © Autodesk 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("97ee349a-32da-4f6e-a2a0-c4b8cf3eff80")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace StandaloneLauncher1.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StandaloneLauncher1.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,50 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace StandaloneLauncher1.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Assembly {
|
||||
get {
|
||||
return ((string)(this["Assembly"]));
|
||||
}
|
||||
set {
|
||||
this["Assembly"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Namespace {
|
||||
get {
|
||||
return ((string)(this["Namespace"]));
|
||||
}
|
||||
set {
|
||||
this["Namespace"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="StandaloneLauncher1.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Assembly" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="Namespace" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{8F7B8416-87C0-40E4-8256-77A624DBA940}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>StandaloneLauncher1</RootNamespace>
|
||||
<AssemblyName>StandaloneLauncher1</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>Autodesk.REX.Framework.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="app.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="stdole">
|
||||
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="REX.Start.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<userSettings>
|
||||
<REX.Start.Properties.Settings>
|
||||
<setting name="Assembly" serializeAs="String">
|
||||
<value/>
|
||||
</setting>
|
||||
<setting name="Namespace" serializeAs="String">
|
||||
<value/>
|
||||
</setting>
|
||||
</REX.Start.Properties.Settings>
|
||||
</userSettings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RevitAddIns>
|
||||
<AddIn Type="Command">
|
||||
<Assembly>P:\PyramidGenerator\PyramidGenerator\bin\Debug\PyramidGenerator.dll</Assembly>
|
||||
<ClientId>1f13d9a0-70ae-4c77-b716-e70a758b9fe0</ClientId>
|
||||
<FullClassName>REX.PyramidGenerator.DirectRevitAccess</FullClassName>
|
||||
<Text>PyramidGenerator</Text>
|
||||
<Description>PyramidGenerator</Description>
|
||||
<VendorId>ADSK</VendorId>
|
||||
<VendorDescription>Autodesk, www.autodesk.com</VendorDescription>
|
||||
</AddIn>
|
||||
</RevitAddIns>
|
||||
@@ -0,0 +1,10 @@
|
||||
set SOURCE_PATH=
|
||||
set DESTINATION_PATH=
|
||||
|
||||
if not exist "%DESTINATION_PATH%\PyramidGenerator\PyramidGenerator.dll" goto end
|
||||
if not exist "%SOURCE_PATH%\PyramidGenerator\PyramidGenerator\bin\Debug\PyramidGenerator.dll" goto end
|
||||
|
||||
copy "%SOURCE_PATH%\PyramidGenerator\PyramidGenerator\bin\Debug\PyramidGenerator.dll" "%DESTINATION_PATH%\PyramidGenerator\PyramidGenerator.dll"
|
||||
copy "%SOURCE_PATH%\PyramidGenerator\PyramidGenerator\bin\Debug\PyramidGenerator.pdb" "%DESTINATION_PATH%\PyramidGenerator\PyramidGenerator.pdb"
|
||||
|
||||
:end
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="PyramidGenerator" description="PyramidGenerator" description_full="PyramidGenerator" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="PyramidGenerator" file="PyramidGenerator.dll" class="REX.PyramidGenerator.Application" direct_revit_class="REX.PyramidGenerator.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ROXML version="1.0">
|
||||
<header>
|
||||
<contents type="configuration" version="1.5"/>
|
||||
<product type="component" category="library" technology=".net" name="REX" />
|
||||
</header>
|
||||
|
||||
<settings>
|
||||
<control>
|
||||
<!--
|
||||
version name
|
||||
|
||||
name = "", "2010", ....
|
||||
-->
|
||||
<version name="2012"/>
|
||||
|
||||
<!--
|
||||
multi language architecture
|
||||
|
||||
suported = "true", "false"
|
||||
-->
|
||||
<languages supported="false"/>
|
||||
|
||||
<!--
|
||||
user interface
|
||||
|
||||
supported = "true", "false"
|
||||
-->
|
||||
<userinterface supported="true" form="modal"/>
|
||||
|
||||
<!--
|
||||
context settings
|
||||
|
||||
suported = "true", "false"
|
||||
version = "", "2010", ....
|
||||
optionlist = "subscription;..."
|
||||
architecture = "x86", "x64"
|
||||
parameters = "true", "false"
|
||||
subname = "", some sub-product name
|
||||
form = "modal" (""), "control", "non-modal"
|
||||
-->
|
||||
<context name="Civil3D" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="Robot" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="RCad" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
|
||||
<context name="Revit" subname="Structure" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="Architecture" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="MEP" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" supported="true" form="modal" version="" optionlist="" architecture="" parameters="true"/>
|
||||
</control>
|
||||
</settings>
|
||||
</ROXML>
|
||||
@@ -0,0 +1,242 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
[Serializable]
|
||||
internal class DataSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DataSerializable"/> class.
|
||||
/// </summary>
|
||||
public DataSerializable()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected REXExtensionDataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// strPrivate = info.GetString( "s1" );
|
||||
/// strPublic = info.GetString( "s2" );
|
||||
/// obMyClass = (SomeClass) info.GetValue( "ob", typeof(SomeClass) ); // deserializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected DataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// info.AddValue("s1", strPrivate);
|
||||
/// info.AddValue("s2", strPublic);
|
||||
/// into.AddValue("ob", obMyClass); // Serializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Sets the data reference.
|
||||
/// </summary>
|
||||
/// <param name="data">The data.</param>
|
||||
public void SetDataReference(Data data)
|
||||
{
|
||||
DataRef = data;
|
||||
}
|
||||
|
||||
private Data DataRef;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all data in REX base units.
|
||||
/// </summary>
|
||||
internal class Data : REXData
|
||||
{
|
||||
//Step 2.1.: Preparing Data
|
||||
/// <summary>
|
||||
/// Gets or sets the height of the pyramid.
|
||||
/// </summary>
|
||||
/// <value>The height.</value>
|
||||
public double H { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the width of the pyramid.
|
||||
/// </summary>
|
||||
/// <value>The width.</value>
|
||||
public double B { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the FamilySymbol which will be used to build the pyramid.
|
||||
/// </summary>
|
||||
/// <value>The family symbol.</value>
|
||||
public string FamilySymbol { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the list of available FamilySymbols.
|
||||
/// </summary>
|
||||
/// <value>The the list of available FamilySymbols.</value>
|
||||
public List<string> AvailableFamilySymbols { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the list of element ids.
|
||||
/// </summary>
|
||||
/// <value>The list of element ids.</value>
|
||||
public List<int> ElementIds { get; set; } //Step 5.1.1. : Serialize
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Data"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Data(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
DataSerializableRef = new DataSerializable();
|
||||
}
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
public Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
//Step 2.2. : Preparing Data
|
||||
H = 5;//m
|
||||
B = 10;//m
|
||||
FamilySymbol = "";
|
||||
AvailableFamilySymbols = new List<string>();
|
||||
ElementIds = new List<int>();
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
//Step 5.1.: Extending the Data
|
||||
Data.Write(H);
|
||||
Data.Write(B);
|
||||
Data.Write(FamilySymbol);
|
||||
|
||||
if (Mode != DataMode.ModeFile)
|
||||
{
|
||||
Data.Write(ElementIds.Count);
|
||||
|
||||
for (int i = 0; i < ElementIds.Count; i++)
|
||||
Data.Write(ElementIds[i]);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
//Step 5.1.: Extending the Data
|
||||
|
||||
H = Data.ReadDouble();
|
||||
B = Data.ReadDouble();
|
||||
FamilySymbol = Data.ReadString();
|
||||
|
||||
if (Mode != DataMode.ModeFile)
|
||||
{
|
||||
ElementIds = new List<int>();
|
||||
int count = Data.ReadInt32();
|
||||
|
||||
for (int i = 0; i < count; i++)
|
||||
ElementIds.Add(Data.ReadInt32());
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (DataSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, DataSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
DataSerializableRef = (DataSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal DataSerializable DataSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,654 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
//Step 4: Extension class
|
||||
/// <summary>
|
||||
/// Main class for development.
|
||||
/// </summary>
|
||||
internal class Extension : REXExtension, IPyramidGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Extension"/> class.
|
||||
/// </summary>
|
||||
/// <param name="App">The reference to REXApplication object.</param>
|
||||
public Extension(REXApplication App)
|
||||
: base(App)
|
||||
{
|
||||
DataRef = new Data(this);
|
||||
ResultsRef = new Results(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Called when Initialize.
|
||||
/// Creates dedicated extension class according main context.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnInitialize()
|
||||
{
|
||||
|
||||
if (ThisApplication.Context2.Product.Type == REXInterfaceType.Revit)
|
||||
ExtensionRef = new Main.Revit.ExtensionRevit(this);
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
if (!ExtensionRef.OnInitialize())
|
||||
return false;
|
||||
}
|
||||
|
||||
// insert code here.
|
||||
|
||||
return base.OnInitialize();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates needed structures and verify needs.
|
||||
/// </summary>
|
||||
public override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates sub dialog.
|
||||
/// </summary>
|
||||
public override void OnCreateDialogs()
|
||||
{
|
||||
//Step 4.3.: Extension class
|
||||
base.OnCreateDialogs();
|
||||
|
||||
NoteControlRef = new REX.PyramidGenerator.Resources.Dialogs.PyramidNoteControl(this);
|
||||
ParameterControlRef = new REX.PyramidGenerator.Resources.Dialogs.PyramidParametersControl(this);
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates layout items and setups layout.
|
||||
/// </summary>
|
||||
public override void OnCreateLayout()
|
||||
{
|
||||
//Step 4.4.: Extension class - 4
|
||||
base.OnCreateLayout();
|
||||
|
||||
System.SetCaption();
|
||||
|
||||
global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png");
|
||||
global::System.Windows.Media.Imaging.BitmapImage parametersImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/ICON_Parameters.png");
|
||||
global::System.Windows.Media.Imaging.BitmapImage noteImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/ICON_Note.png");
|
||||
|
||||
UI.SetLogo(logoImage);
|
||||
|
||||
Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed
|
||||
| (long)REXUI.SetupOptions.VSplitFixed
|
||||
| (long)REXUI.SetupOptions.TabDialog
|
||||
| (long)REXUI.SetupOptions.List
|
||||
| (long)REXUI.SetupOptions.FormFixed;
|
||||
//Step 5.2.: Serialize
|
||||
Layout.ConstOptions |= (long)REXUI.SetupOptions.ToolMenu;
|
||||
|
||||
Layout.CommandsOptions = (long)REXUI.CommandOptions.ToolMenuFile
|
||||
| (long)REXUI.CommandOptions.ToolMenuFileOpen
|
||||
| (long)REXUI.CommandOptions.ToolMenuFileSave
|
||||
| (long)REXUI.CommandOptions.ToolMenuFileSaveAs
|
||||
| (long)REXUI.CommandOptions.ToolMenuHelp
|
||||
| (long)REXUI.CommandOptions.ToolMenuHelpAbout
|
||||
| (long)REXUI.CommandOptions.ToolMenuHelpRun;
|
||||
|
||||
Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Parameters", "", "Parameters", (long)0, ParameterControlRef, null, parametersImage));
|
||||
Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Report", "", "Report", (long)0, NoteControlRef, null, noteImage));
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateLayout();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set data on dialogs.
|
||||
/// </summary>
|
||||
public override void OnSetDialogs()
|
||||
{
|
||||
//Step 4.5.: Extension class
|
||||
base.OnSetDialogs();
|
||||
|
||||
NoteControlRef.SetDialog();
|
||||
ParameterControlRef.SetDialog();
|
||||
|
||||
Layout.SelectLayout("Parameters");
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get data from dialogs and sets Data's strucutres.
|
||||
/// </summary>
|
||||
public override void OnSetData()
|
||||
{
|
||||
//Step 4.7.: Extension class
|
||||
base.OnSetData();
|
||||
|
||||
ParameterControlRef.SetData();
|
||||
|
||||
if (string.IsNullOrEmpty(Data.FamilySymbol))
|
||||
System.SystemBase.Errors.AddError("Error", "The family wasn't set", null);
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are loaded.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataLoad()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data loaded.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataLoaded(bool Result)
|
||||
{
|
||||
//Step 5.2.: Serialize
|
||||
if (Result)
|
||||
{
|
||||
ParameterControlRef.SetDialog();
|
||||
NoteControlRef.SetDialog();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataSave()
|
||||
{
|
||||
//Step 5.2.: Serialize
|
||||
ParameterControlRef.SetData();
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataSaved(bool Result)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are cleared.
|
||||
/// </summary>
|
||||
/// <param name="Implemented">If returns <c>true</c> method was implemented.</param>
|
||||
/// <returns>Returns result of clear operation.</returns>
|
||||
public override bool OnClear(out bool Implemented)
|
||||
{
|
||||
Implemented = false;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnClear(out Implemented);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is loaded.
|
||||
/// Only if <c>ExtensionContext.Control.StandardRunContext</c> is equals to <c>REXExtensionContext.REXStandardRunContext.OperationEditTemplate</c>.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnLoadTemplate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnSaveTemplate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks status of module and shows some information for user if module can't excecute action.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if module can do some action in OnRun method; otherwise false.</returns>
|
||||
public override bool OnCanRun()
|
||||
{
|
||||
//Step 4.8.: Extension class
|
||||
bool ok = (!string.IsNullOrEmpty(Data.FamilySymbol) &&
|
||||
Data.AvailableFamilySymbols.Contains(Data.FamilySymbol));
|
||||
|
||||
SetCanClose(ok);
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Runs process calculations or other operations.
|
||||
/// </summary>
|
||||
public override void OnRun()
|
||||
{
|
||||
//Step 4.9.: Extension class
|
||||
base.OnRun();
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnRun();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows results.
|
||||
/// </summary>
|
||||
public override void OnShowResults()
|
||||
{
|
||||
base.OnShowResults();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnShowResults();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If returns true dialog will close after OK button is clicked.
|
||||
/// </summary>
|
||||
/// <param name="Type">The closing type. See <see cref="REXCanCloseType"/> enum.</param>
|
||||
/// <returns>Returns true if module can be closed.</returns>
|
||||
public override bool OnCanClose(REXCanCloseType Type)
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result &= ExtensionRef.OnCanClose(Type);
|
||||
|
||||
// insert code here.
|
||||
|
||||
result &= base.OnCanClose(Type);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called during closing module.
|
||||
/// </summary>
|
||||
public override void OnClose()
|
||||
{
|
||||
//Step 4.10.: Extension class
|
||||
base.OnClose();
|
||||
|
||||
NoteControlRef.Release();
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnClose();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Activates or deactivates layout - module can modify layout before or after activation.
|
||||
/// </summary>
|
||||
/// <param name="LItem">The layout item.</param>
|
||||
/// <param name="Activate">If set to <c>true</c> activate.</param>
|
||||
public override void OnActivateLayout(REXLayoutItem LItem, bool Activate)
|
||||
{
|
||||
//Step 4.6.: Extension class
|
||||
base.OnActivateLayout(LItem, Activate);
|
||||
|
||||
ParameterControlRef.SetData();
|
||||
NoteControlRef.SetDialog();
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnActivateLayout(LItem, Activate);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when an error is selected on errors list dialog.
|
||||
/// Raises the <see cref="ErrorSelected"/> event.
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="Autodesk.REX.Framework.REXErrorsEventArgs"/> instance containing the event data.</param>
|
||||
public override void OnErrorSelected(REXErrorsEventArgs e)
|
||||
{
|
||||
base.OnErrorSelected(e);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnErrorSelected(e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when preferences changed.
|
||||
/// </summary>
|
||||
public override void OnPreferencesChanged()
|
||||
{
|
||||
DFM.BeforeParamsChange();
|
||||
|
||||
base.OnPreferencesChanged();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnPreferencesChanged();
|
||||
|
||||
DFM.AfterParamsChange();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get specified text from resources. Needed for obfuscated strings tables.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name of string.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string OnGetText(string Name)
|
||||
{
|
||||
if (Name == REXConst.ENG_ResModuleDescription)
|
||||
return Resources.Strings.Texts.REX_ModuleDescription;
|
||||
if (Name == REXConst.ENG_ResVersionInfo)
|
||||
return Resources.Strings.Texts.REX_VersionInfo;
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
string result = ExtensionRef.OnGetText(Name);
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
return result;
|
||||
}
|
||||
|
||||
return Resources.Strings.Texts.ResourceManager.GetString(Name);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnCommand(ref REXCommand CommandStruct)
|
||||
{
|
||||
//Step 7.1.: Data exchange
|
||||
Dictionary<string, object> dictionary = CommandStruct.CommandObject as Dictionary<string, object>;
|
||||
|
||||
if (dictionary != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
Data.H = Convert.ToDouble(dictionary["H"]);
|
||||
Data.B = Convert.ToDouble(dictionary["B"]);
|
||||
Data.FamilySymbol = dictionary["FamilySymbol"].ToString();
|
||||
ExtensionRef.OnRun();
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return base.OnCommand(ref CommandStruct);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnEvent(ref REXEvent EventStruct)
|
||||
{
|
||||
object result = null;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result = ExtensionRef.OnEvent(ref EventStruct);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (result == null)
|
||||
return base.OnEvent(ref EventStruct);
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Command(ref REXCommand CommandStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Events the specified event struct.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Event(ref REXEvent EventStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Event(ref EventStruct);
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// For non standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Create all needed objects
|
||||
/// </summary>
|
||||
public override bool Create()
|
||||
{
|
||||
bool result = base.Create();
|
||||
|
||||
// insert code here.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates all needed references and data.
|
||||
/// </summary>
|
||||
public override void Setup()
|
||||
{
|
||||
base.Setup();
|
||||
|
||||
// insert code here.
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided UI methods - Form and Control reference
|
||||
/// <summary>
|
||||
/// Get reference to main control which will be embedded on MainForm.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainControl object based on REXExtensionControl.</returns>
|
||||
public Resources.Dialogs.MainControl MainControl()
|
||||
{
|
||||
if (object.ReferenceEquals(ControlRef, null))
|
||||
ControlRef = new Resources.Dialogs.MainControl(this);
|
||||
|
||||
return ControlRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get reference to main form.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainForm object based on REXExtensionForm.</returns>
|
||||
public override REXExtensionWindow GetWindow()
|
||||
{
|
||||
if (object.ReferenceEquals(WindowRef, null))
|
||||
WindowRef = new Resources.Dialogs.MainWindow(this);
|
||||
|
||||
return (REXExtensionWindow)WindowRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main control. Internally calls <see cref="MainControl()"/> method.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainControl object based on REXExtensionControl.</returns>
|
||||
public override REXExtensionControl GetControl()
|
||||
{
|
||||
return MainControl();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided data and results
|
||||
/// <summary>
|
||||
/// Get the data.
|
||||
/// </summary>
|
||||
/// <value>The data.</value>
|
||||
public Data Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <value>The results.</value>
|
||||
public Results Results
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the API.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to main API object.</returns>
|
||||
public override Object GetAPI()
|
||||
{
|
||||
//Step 7.2.: Data exchange
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXResults object.</returns>
|
||||
public override REXResults GetResults()
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the data.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXData object.</returns>
|
||||
public override REXData GetData()
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the settings.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXExtensionSettings object.</returns>
|
||||
public override REXExtensionSettings GetSettings()
|
||||
{
|
||||
if (ExtensionSettingsRef == null)
|
||||
ExtensionSettingsRef = new ExtensionSettings(this);
|
||||
return ExtensionSettingsRef;
|
||||
}
|
||||
#endregion
|
||||
|
||||
//DOM-IGNORE-BEGIN
|
||||
#region Private members
|
||||
private Data DataRef;
|
||||
private Results ResultsRef;
|
||||
|
||||
private Resources.Dialogs.MainWindow WindowRef;
|
||||
private Resources.Dialogs.MainControl ControlRef;
|
||||
|
||||
//Step 4.1.: Extension class
|
||||
private Resources.Dialogs.PyramidNoteControl NoteControlRef;
|
||||
private Resources.Dialogs.PyramidParametersControl ParameterControlRef;
|
||||
|
||||
private ExtensionSettings ExtensionSettingsRef;
|
||||
|
||||
private IREXExtension ExtensionRef;
|
||||
#endregion
|
||||
//DOM-IGNORE-END
|
||||
|
||||
////Step 7.2.: Data exchange
|
||||
#region IPyramidGenerator Members
|
||||
|
||||
public double H
|
||||
{
|
||||
get { return Data.H; }
|
||||
set { Data.H = value; }
|
||||
}
|
||||
|
||||
public double B
|
||||
{
|
||||
get { return Data.B; }
|
||||
set { Data.B = value; }
|
||||
}
|
||||
|
||||
public string FamilySymbol
|
||||
{
|
||||
get { return Data.FamilySymbol; }
|
||||
set { Data.FamilySymbol = value; }
|
||||
}
|
||||
|
||||
public void Generate()
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnRun();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
////Step 7: Data exchange - 2
|
||||
/// <summary>
|
||||
/// The interface dedicated for exposing the API of PyramidGenerator.
|
||||
/// </summary>
|
||||
public interface IPyramidGenerator
|
||||
{
|
||||
double H { get; set; }
|
||||
double B { get; set; }
|
||||
string FamilySymbol { get; set; }
|
||||
void Generate();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,288 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
[Serializable]
|
||||
internal class ResultsSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ResultsSerializable"/> class.
|
||||
/// </summary>
|
||||
public ResultsSerializable()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected REXExtensionDataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// strPrivate = info.GetString( "s1" );
|
||||
/// strPublic = info.GetString( "s2" );
|
||||
/// obMyClass = (SomeClass) info.GetValue( "ob", typeof(SomeClass) ); // deserializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected ResultsSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// info.AddValue("s1", strPrivate);
|
||||
/// info.AddValue("s2", strPublic);
|
||||
/// into.AddValue("ob", obMyClass); // Serializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the results reference.
|
||||
/// </summary>
|
||||
/// <param name="results">The results.</param>
|
||||
internal void SetResultsReference(Results results)
|
||||
{
|
||||
ResultsRef = results;
|
||||
}
|
||||
|
||||
private Results ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all results in REX base units.
|
||||
/// </summary>
|
||||
internal class Results : REXResults
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Results"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Results(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
ResultsSerializableRef = new ResultsSerializable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when [set defaults].
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// #region Structures
|
||||
/// public double C;
|
||||
/// public double D;
|
||||
/// #endregion
|
||||
///
|
||||
/// protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
/// {
|
||||
/// if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
/// {
|
||||
/// C = 0;
|
||||
/// D = 0;
|
||||
/// }
|
||||
/// else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
/// {
|
||||
/// C = 0;
|
||||
/// D = 0;
|
||||
/// }
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///protected override bool OnSave(ref BinaryWriter Data)
|
||||
///{
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// Data.Write(C);
|
||||
/// Data.Write(D);
|
||||
///
|
||||
/// return true;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected override bool OnLoad(ref BinaryReader Data)
|
||||
/// {
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// if (VersionLoaded >= 1)
|
||||
/// {
|
||||
/// C = Data.ReadDouble();
|
||||
/// D = Data.ReadDouble();
|
||||
/// }
|
||||
///
|
||||
/// return true;
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
if (VersionLoaded >= 1)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (ResultsSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, ResultsSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
ResultsSerializableRef = (ResultsSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal ResultsSerializable ResultsSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
using Autodesk.Revit.DB;
|
||||
|
||||
namespace REX.PyramidGenerator.Main.Revit
|
||||
{
|
||||
//Step 4: Extension class
|
||||
internal class ExtensionRevit : REXExtensionProduct
|
||||
{
|
||||
/// <summary>
|
||||
/// The list of read families
|
||||
/// </summary>
|
||||
Dictionary<string, FamilySymbol> Families;
|
||||
/// <summary>
|
||||
/// The destination level
|
||||
/// </summary>
|
||||
Level LevelReference;
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ExtensionRevit"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The ext.</param>
|
||||
public ExtensionRevit(REX.Common.REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
Families = new Dictionary<string, FamilySymbol>();
|
||||
}
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
#region IREXExtension Members implemented
|
||||
/// <summary>
|
||||
/// Creates needed structures and verify needs.
|
||||
/// </summary>
|
||||
public override void OnCreate()
|
||||
{
|
||||
//Step 4.2.: Extension class
|
||||
FilteredElementCollector collector = new FilteredElementCollector(ThisExtension.Revit.ActiveDocument);
|
||||
|
||||
//Reading elements which FamilySymbols of the Framing category
|
||||
IList<ElementFilter> filterList = new List<ElementFilter>();
|
||||
filterList.Add(new ElementCategoryFilter(BuiltInCategory.OST_StructuralFraming));
|
||||
filterList.Add(new ElementClassFilter(typeof(FamilySymbol)));
|
||||
LogicalAndFilter filter = new LogicalAndFilter(filterList);
|
||||
|
||||
IList<Element> elements = collector.WherePasses(filter).ToElements();
|
||||
|
||||
if (elements == null || elements.Count == 0)
|
||||
{
|
||||
ThisExtension.System.SystemBase.Errors.AddError("Error1", "No families were detected in the project", null);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Families = new Dictionary<string, FamilySymbol>();
|
||||
|
||||
foreach (Element el in elements)
|
||||
{
|
||||
FamilySymbol familySymbol = el as FamilySymbol;
|
||||
|
||||
string familyName = familySymbol.Family.Name + ": " + familySymbol.Name;
|
||||
Families.Add(familyName, familySymbol);
|
||||
ThisMainExtension.Data.AvailableFamilySymbols.Add(familyName);
|
||||
}
|
||||
}
|
||||
|
||||
//Reading the level - the first one is taken
|
||||
collector = new FilteredElementCollector(ThisExtension.Revit.ActiveDocument);
|
||||
LevelReference = collector.OfClass(typeof(Level)).FirstElement() as Level;
|
||||
if (LevelReference == null)
|
||||
{
|
||||
ThisExtension.System.SystemBase.Errors.AddError("Error2", "No level was detected", null);
|
||||
return;
|
||||
}
|
||||
|
||||
//Loading data from the selection
|
||||
foreach (ElementId id in ThisExtension.Revit.ActiveUIDocument.Selection.GetElementIds())
|
||||
{
|
||||
Element el = ThisExtension.Revit.ActiveUIDocument.Document.GetElement(id);
|
||||
if (el != null)
|
||||
if (ThisExtension.Revit.Parameters.LoadFromHost(el))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Runs process calculations or other operations.
|
||||
/// </summary>
|
||||
public override void OnRun()
|
||||
{
|
||||
//Step 4.9.: Extension class
|
||||
double b = ThisExtension.Units.Interface(ThisMainExtension.Data.B, EUnitType.Dimensions_StructureDim, 1, REXInterfaceType.Revit);
|
||||
double h = ThisExtension.Units.Interface(ThisMainExtension.Data.H, EUnitType.Dimensions_StructureDim, 1, REXInterfaceType.Revit);
|
||||
|
||||
double x1 = 0;
|
||||
double y1 = 0;
|
||||
|
||||
double x2 = b;
|
||||
double y2 = 0;
|
||||
|
||||
double x3 = b / 2;
|
||||
double y3 = b * Math.Sqrt(3) / 2;
|
||||
|
||||
double x4 = b / 2;
|
||||
double y4 = y3 / 3;
|
||||
|
||||
FamilySymbol familySymbol = Families[ThisMainExtension.Data.FamilySymbol];
|
||||
|
||||
ThisExtension.Progress.Steps = 6;
|
||||
ThisExtension.Progress.Header = "Generation";
|
||||
ThisExtension.Progress.Text = "...";
|
||||
ThisExtension.Progress.Show(ThisExtension.GetWindowForParent());
|
||||
|
||||
RemoveAllGeneratedBeams();
|
||||
|
||||
ThisMainExtension.Data.ElementIds.Clear();
|
||||
|
||||
GenerateBeam(new XYZ(x1, y1, 0), new XYZ(x2, y2, 0), familySymbol);
|
||||
GenerateBeam(new XYZ(x2, y2, 0), new XYZ(x3, y3, 0), familySymbol);
|
||||
GenerateBeam(new XYZ(x1, y1, 0), new XYZ(x3, y3, 0), familySymbol);
|
||||
GenerateBeam(new XYZ(x1, y1, 0), new XYZ(x4, y4, h), familySymbol);
|
||||
GenerateBeam(new XYZ(x2, y2, 0), new XYZ(x4, y4, h), familySymbol);
|
||||
GenerateBeam(new XYZ(x3, y3, 0), new XYZ(x4, y4, h), familySymbol);
|
||||
|
||||
SaveDataToAllBeams();
|
||||
|
||||
ThisExtension.Progress.Hide();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
/// <summary>
|
||||
/// Removes all generated beams.
|
||||
/// </summary>
|
||||
void RemoveAllGeneratedBeams()
|
||||
{
|
||||
//Step 5.3.2.: Serialize
|
||||
foreach (int id in ThisMainExtension.Data.ElementIds)
|
||||
{
|
||||
Element el = ThisExtension.Revit.ActiveDocument.GetElement(new ElementId(id));
|
||||
if (el != null)
|
||||
ThisExtension.Revit.ActiveDocument.Delete(el.Id);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Saves the data to all beams.
|
||||
/// </summary>
|
||||
void SaveDataToAllBeams()
|
||||
{
|
||||
//Step 5.3.4.: Serialize
|
||||
foreach (int id in ThisMainExtension.Data.ElementIds)
|
||||
{
|
||||
Element el = ThisExtension.Revit.ActiveDocument.GetElement(new ElementId(id));
|
||||
if (el != null)
|
||||
ThisExtension.Revit.Parameters.SaveToHost(el);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Generates the beam.
|
||||
/// </summary>
|
||||
/// <param name="start">The start.</param>
|
||||
/// <param name="end">The end.</param>
|
||||
/// <param name="familySymbol">The FamilySymbol.</param>
|
||||
void GenerateBeam(XYZ start, XYZ end, FamilySymbol familySymbol)
|
||||
{
|
||||
ThisExtension.Progress.Step();
|
||||
Line line = Line.CreateBound(start, end);
|
||||
|
||||
if (!familySymbol.IsActive)
|
||||
familySymbol.Activate();
|
||||
|
||||
FamilyInstance familyInstance = ThisExtension.Revit.ActiveDocument.Create.NewFamilyInstance(line, familySymbol, LevelReference, Autodesk.Revit.DB.Structure.StructuralType.Brace);
|
||||
if (familyInstance != null)
|
||||
{
|
||||
//Step 5.3.3.: Serialize
|
||||
ThisMainExtension.Data.ElementIds.Add(familyInstance.Id.IntegerValue);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows parsing module settings located in Configuration/settings.xml file.
|
||||
/// </summary>
|
||||
internal class ExtensionSettings : REXExtensionSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ExtensionSettings"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public ExtensionSettings(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when parsing Configuration / settings.xml
|
||||
/// file. Concerns only tags which is not supported by the
|
||||
/// class.
|
||||
/// </summary>
|
||||
/// <param name="Node">The XML node.</param>
|
||||
/// <returns>
|
||||
/// <c>true</c>If is successfully; otherwise, <c>false</c> -
|
||||
/// reserved only for exceptions.
|
||||
/// </returns>
|
||||
public override bool OnParse(System.Xml.XmlNode Node)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system.
|
||||
/// </summary>
|
||||
public class Application : REXFoundationApplication
|
||||
{
|
||||
protected override void OnCreateApplication()
|
||||
{
|
||||
base.OnCreateApplication();
|
||||
|
||||
ApplicationRef = new FoundationApplication();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system
|
||||
/// </summary>
|
||||
/// <remarks></remarks>
|
||||
public class FoundationApplication : REXApplication
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Application"/> class.
|
||||
/// Creates Extension class.
|
||||
/// </summary>
|
||||
public FoundationApplication()
|
||||
{
|
||||
AppExtension = new Extension(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when create. Set ExtensionContext structure and enable or disable some functionalities.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///public override bool OnCreate()
|
||||
///{
|
||||
/// AppExtension.ExtensionContext.Control.LanguagesSupport = true; // switches off languages support.
|
||||
/// AppExtension.ExtensionContext.Control.UserInterface = false; // module will work similar to run in context mode.
|
||||
/// //...
|
||||
/// return true;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
public override bool OnCreate()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the extension.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to Extension object.</returns>
|
||||
public override REXExtension GetExtension()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return AppExtension;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the minimum required version of specified engine's component.
|
||||
/// </summary>
|
||||
/// <param name="Version">The version.</param>
|
||||
/// <returns>Returns version string - "Major.Minor".</returns>
|
||||
public override string GetVersion(REXVersionType Version)
|
||||
{
|
||||
switch (Version)
|
||||
{
|
||||
case REXVersionType.Common:
|
||||
case REXVersionType.Controls:
|
||||
case REXVersionType.Math:
|
||||
return "1.0";
|
||||
case REXVersionType.Engine:
|
||||
return "2.3";
|
||||
case REXVersionType.CommercialEngine:
|
||||
return "2.3";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the text. See <see cref="Extension.GetText()"/> method.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string GetText(string Name)
|
||||
{
|
||||
return AppExtension.OnGetText(Name);
|
||||
}
|
||||
|
||||
#region Private members
|
||||
|
||||
private Extension AppExtension;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
//
|
||||
// (C) Copyright 2007-2016 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
#if (REVIT)
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
#endif
|
||||
|
||||
namespace REX.PyramidGenerator
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class DirectRevitAccess : IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class DirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
if (currentDomain != null)
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
#if (REVIT)
|
||||
return Proxy.Execute(commandData, ref message, elements);
|
||||
#else
|
||||
return Proxy.Run();
|
||||
#endif
|
||||
}
|
||||
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
private static class Proxy
|
||||
{
|
||||
#if (REVIT)
|
||||
public static Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
{
|
||||
ExtensionDirectRevitAccess extensionDirectRevitAccess = new ExtensionDirectRevitAccess();
|
||||
return extensionDirectRevitAccess.Execute(commandData, ref message, elements);
|
||||
}
|
||||
#else
|
||||
public static bool Run()
|
||||
{
|
||||
ExtensionDirectAccess extensionDirectAccess = new ExtensionDirectAccess();
|
||||
return extensionDirectAccess.Run();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class ExtensionDirectRevitAccess : REX.Common.REXDirectRevitAccess, IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class ExtensionDirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
try
|
||||
{
|
||||
AppRef = new Application();
|
||||
|
||||
REXContext context = new REXContext();
|
||||
context.Control.Mode = REXMode.Dialog;
|
||||
context.Control.ControlMode = REXControlMode.ModalDialog;
|
||||
#if (REVIT)
|
||||
PresetContext(ref commandData, ref message, ref elements, ref context);
|
||||
#else
|
||||
context.Product.Type = REXInterfaceType.None;
|
||||
#endif
|
||||
Transaction tran = new Transaction(commandData.Application.ActiveUIDocument.Document, "REX.PyramidGenerator transaction");
|
||||
tran.Start();
|
||||
|
||||
REXEnvironment Env = new REXEnvironment(REX.Common.REXConst.ENG_DedicatedVersionName);
|
||||
if (Env.LoadEngine(ref context))
|
||||
{
|
||||
if (AppRef.Create(ref context))
|
||||
{
|
||||
AppRef.Show();
|
||||
#if (REVIT)
|
||||
}
|
||||
}
|
||||
|
||||
tran.Commit();
|
||||
|
||||
if (context.Extension.Result == REXResultType.None || context.Extension.Result == REXResultType.Succeeded)
|
||||
return Result.Succeeded;
|
||||
else if (context.Extension.Result == REXResultType.Cancelled)
|
||||
return Result.Cancelled;
|
||||
else
|
||||
return Result.Failed;
|
||||
#else
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
#if (REVIT)
|
||||
message = ex.Message;
|
||||
return Result.Failed;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
private Application AppRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace REX.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Foundation class for REX.Foundation usage.
|
||||
/// </summary>
|
||||
public class REXFoundationApplication : Autodesk.REX.Framework.IREXApplication2
|
||||
{
|
||||
protected Autodesk.REX.Framework.IREXApplication2 ApplicationRef;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXApplication"/> class.
|
||||
/// </summary>
|
||||
public REXFoundationApplication()
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
OnCreateApplication();
|
||||
}
|
||||
|
||||
protected virtual void OnCreateApplication()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles the AssemblyResolve event of the currentDomain control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="args">The <see cref="System.ResolveEventArgs"/> instance containing the event data.</param>
|
||||
/// <returns></returns>
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, Autodesk.REX.Framework.REXConfiguration.Control.VersionName, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
#region IREXApplication2 Members
|
||||
|
||||
/// <summary>
|
||||
/// Create module.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IREXApplication Members
|
||||
|
||||
/// <summary>
|
||||
/// Closes this instance.
|
||||
/// </summary>
|
||||
public void Close()
|
||||
{
|
||||
ApplicationRef.Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns></returns>
|
||||
public object Command(ref Autodesk.REX.Framework.REXCommand CommandStruct)
|
||||
{
|
||||
return ApplicationRef.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Controls this instance.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public object Control()
|
||||
{
|
||||
return ApplicationRef.Control();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event structure.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public object Event(ref Autodesk.REX.Framework.REXEvent EventStruct)
|
||||
{
|
||||
return ApplicationRef.Event(ref EventStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows this module.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Show()
|
||||
{
|
||||
return ApplicationRef.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("PyramidGenerator")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("PyramidGenerator")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("1ac8c585-bc98-4e45-9bb6-5ac81a98d286")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,288 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{57524E1D-9B27-43DF-BF44-978026BA1EDF}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>REX.PyramidGenerator</RootNamespace>
|
||||
<AssemblyName>PyramidGenerator</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;TV2_0;TV1_5;REXUI;REXUIL2;REXEI;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;TV2_0;TV1_5;REXUI;REXUIL2;REXEI;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autodesk.Common.AResourcesControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff3304d4f320ee59, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>a:\references\Autodesk.Common.AResourcesControl.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>Autodesk.REX.Framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Interop.ROHTMLLib">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Interop\Interop.ROHTMLLib.dll</HintPath>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="PresentationFramework">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPI">
|
||||
<HintPath>q:\Ref\RevitAPI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPIUI">
|
||||
<HintPath>q:\Ref\RevitAPIUI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.API">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.API.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls.WPF">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.WPF.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation.WPF">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.WPF.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Windows.Presentation">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Main\IPyramidGenerator.cs" />
|
||||
<Compile Include="Module\Application.cs" />
|
||||
<Compile Include="Module\DirectAccess.cs" />
|
||||
<Compile Include="Module\Foundation.cs" />
|
||||
<Compile Include="Main\Data.cs" />
|
||||
<Compile Include="Main\Revit\ExtensionRevit.cs" />
|
||||
<Compile Include="Main\Extension.cs" />
|
||||
<Compile Include="Main\Settings.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources\Dialogs\MainControl.xaml.cs">
|
||||
<DependentUpon>MainControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\PyramidNoteControl.xaml.cs">
|
||||
<DependentUpon>PyramidNoteControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\PyramidParametersControl.xaml.cs">
|
||||
<DependentUpon>PyramidParametersControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Strings\Texts.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Texts.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Main\Results.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\Strings\Texts.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Texts.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_help.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_info.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Other\Images\ICON_Note.png" />
|
||||
<Resource Include="Resources\Other\Images\ICON_Parameters.png" />
|
||||
<Resource Include="Resources\Other\Images\IMAGE_Pyramid.png" />
|
||||
<None Include="Additional\buildevents.bat" />
|
||||
<EmbeddedResource Include="Resources\Other\Images\REX.ico" />
|
||||
<Resource Include="Resources\Other\Images\REX_logo.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_calculate.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_close.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_open.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_print.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_save.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_save_as.png" />
|
||||
<Content Include="Additional\PyramidGenerator.addin" />
|
||||
<Content Include="Configuration\REX.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_small.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_tooltip.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\settings.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="en-US\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="pl-PL\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_rs.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Include="Resources\Dialogs\MainControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\MainWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\PyramidNoteControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\PyramidParametersControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
if not exist "q:\exe.$(ConfigurationName)" goto InstalledSDK
|
||||
|
||||
md "q:\exe.$(ConfigurationName)"
|
||||
md "q:\exe.$(ConfigurationName)\Modules"
|
||||
md "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)"
|
||||
|
||||
del "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
|
||||
copy "$(TargetPath)" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
copy "$(TargetDir)Interop.*.dll" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\"
|
||||
|
||||
goto END
|
||||
|
||||
:InstalledSDK
|
||||
|
||||
:END
|
||||
|
||||
if exist "$(ProjectDir)Additional\buildevents.bat" call "$(ProjectDir)Additional\buildevents.bat"
|
||||
|
||||
xcopy "$(ProjectDir)Additional\*.addin" "R:\Autodesk\Revit\Addins\2018" /S /R /K /V /I /F /C /Y
|
||||
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,245 @@
|
||||
<rexf:REXExtensionMainControl x:Class="REX.PyramidGenerator.Resources.Dialogs.MainControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF"
|
||||
Height="512" Width="720" SnapsToDevicePixels="True">
|
||||
|
||||
<rexf:REXExtensionMainControl.Resources>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandOpen" Name="Open"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandSave" Name="Save"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandSaveAs" Name="SaveAs"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandPreferences" Name="Preferences"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandPrint" Name="Print"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandClose" Name="Close"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandCalculate" Name="Calculate"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandHelp" Name="Help"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandAbout" Name="About"/>
|
||||
</rexf:REXExtensionMainControl.Resources>
|
||||
|
||||
<rexf:REXExtensionMainControl.CommandBindings>
|
||||
<CommandBinding Command="{StaticResource CommandOpen}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandSave}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandSaveAs}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandPreferences}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandPrint}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandClose}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandCalculate}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandHelp}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandAbout}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
</rexf:REXExtensionMainControl.CommandBindings>
|
||||
|
||||
<rexf:REXExtensionMainControl.InputBindings>
|
||||
<KeyBinding Key="O" Modifiers="Control" Gesture="Ctrl+O" Command="{StaticResource CommandOpen}"/>
|
||||
<KeyBinding Key="S" Modifiers="Control" Gesture="Ctrl+S" Command="{StaticResource CommandSave}"/>
|
||||
<KeyBinding Key="P" Modifiers="Control" Gesture="Ctrl+P" Command="{StaticResource CommandPrint}"/>
|
||||
<KeyBinding Key="F9" Modifiers="" Gesture="F9" Command="{StaticResource CommandCalculate}"/>
|
||||
<KeyBinding Key="F1" Modifiers="" Gesture="F1" Command="{StaticResource CommandHelp}"/>
|
||||
</rexf:REXExtensionMainControl.InputBindings>
|
||||
|
||||
<DockPanel LastChildFill="True">
|
||||
<ToolBarPanel DockPanel.Dock="Top">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<Menu Name="Menu" Style="{DynamicResource REXMenu}">
|
||||
<MenuItem Name="MenuItemFile" Header="_File" StaysOpenOnClick="True">
|
||||
<MenuItem Name="MenuItemOpen" Header="_Open ..." Command="{StaticResource CommandOpen}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemSave" Header="_Save" Command="{StaticResource CommandSave}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemSaveAs" Header="Save _As ..." Command="{StaticResource CommandSaveAs}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorPreferencesTop"/>
|
||||
<MenuItem Name="MenuItemPreferences" Header="_Preferences ..." Command="{StaticResource CommandPreferences}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorPreferencesBottom"/>
|
||||
<MenuItem Name="MenuItemPrint" Header="Print ..." Command="{StaticResource CommandPrint}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_print.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorCloseTop"/>
|
||||
<MenuItem Name="MenuItemClose" Header="Close" Command="{StaticResource CommandClose}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_close.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemCalculations" Header="_Calculations">
|
||||
<MenuItem Name="MenuItemCalc" Header="_Calculate" Command="{StaticResource CommandCalculate}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemHelp" Header="_Help">
|
||||
<MenuItem Name="MenuItemHelpIndex" Header="_Help ..." Command="{StaticResource CommandHelp}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripSeparatorBeforeAbout"/>
|
||||
<MenuItem Name="MenuItemAbout" Header="_About ..." Command="{StaticResource CommandAbout}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_info.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<ToolBar ToolBarTray.IsLocked="True" Name="ToolMenu">
|
||||
<Menu Style="{DynamicResource REXMenu}">
|
||||
<MenuItem Name="ToolStripMenuItemFile" Header="_File" StaysOpenOnClick="True">
|
||||
<MenuItem Name="ToolStripMenuItemOpen" Header="_Open ..." Command="{StaticResource CommandOpen}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemSave" Header="_Save" Command="{StaticResource CommandSave}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemSaveAs" Header="Save _As ..." Command="{StaticResource CommandSaveAs}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorPreferencesTop"/>
|
||||
<MenuItem Name="ToolStripMenuItemPreferences" Header="_Preferences ..." Command="{StaticResource CommandPreferences}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorPreferencesBottom"/>
|
||||
<MenuItem Name="ToolStripMenuItemPrint" Header="Print ..." Command="{StaticResource CommandPrint}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_print.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorCloseTop"/>
|
||||
<MenuItem Name="ToolStripMenuItemClose" Header="Close" Command="{StaticResource CommandClose}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_close.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemCalculations" Header="_Calculations">
|
||||
<MenuItem Name="ToolStripMenuItemCalc" Header="_Calculate" Command="{StaticResource CommandCalculate}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemHelp" Header="_Help">
|
||||
<MenuItem Name="ToolStripMenuItemHelpIndex" Header="_Help ..." Command="{StaticResource CommandHelp}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorBeforeAbout"/>
|
||||
<MenuItem Name="ToolStripMenuItemAbout" Header="_About ..." Command="{StaticResource CommandAbout}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_info.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
</ToolBar>
|
||||
|
||||
<ToolBar ToolBarTray.IsLocked="True" Name="ToolBar">
|
||||
<Button Name="ToolStripButtonOpen" Command="{StaticResource CommandOpen}">
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Open</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Button Name="ToolStripButtonSave" Command="{StaticResource CommandSave}">
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Save</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorPreferencesLeft"/>
|
||||
<Button Name="ToolStripPreferences" Command="{StaticResource CommandCalculate}">
|
||||
<Image Source="..\other\images\toolbar_rs.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Save As</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorPreferencesRight"/>
|
||||
<Button Name="ToolStripCalculate" Command="{StaticResource CommandCalculate}">
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Calculate</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorAC"/>
|
||||
<Button Name="ToolStripButtonHelp" Command="{StaticResource CommandHelp}">
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Help</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
</ToolBar>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</ToolBarPanel>
|
||||
<Grid Name="HSplitGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="350*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GridSplitter Name="HSplit" Grid.Row="0" Height="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"/>
|
||||
<Grid Name="HSplitGridTop" Grid.Row="0">
|
||||
<DockPanel Name="VSplitGrid" LastChildFill="True" Grid.Row="0">
|
||||
<Grid Name="VSplitGridLeft">
|
||||
<rexc:REXToolbox Width="200" MinWidth="200" Name="Toolbox" BorderThickness="1" Background="{x:Static SystemColors.WindowBrush}" SelectedItemChanged="Toolbox_SelectedItemChanged" BorderBrush="{x:Static SystemColors.ControlDarkBrush}" ItemBorderThickness="1" IsItemsHost="False">
|
||||
|
||||
</rexc:REXToolbox>
|
||||
</Grid>
|
||||
<GridSplitter Name="VSplit" Width="2" HorizontalAlignment="Right" VerticalAlignment="Stretch"/>
|
||||
<Grid Name="VSplitGridRight">
|
||||
<Grid Name="DialogContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<Grid Name="ViewContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<Grid Name="NoteContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<TabControl Name="TabControl" Visibility="Hidden" Background="Transparent">
|
||||
<TabItem Name="TabDialog" Header="Properties" Visibility="Hidden" ></TabItem>
|
||||
<TabItem Name="TabView" Header="View" Visibility="Hidden"></TabItem>
|
||||
<TabItem Name="TabNote" Header="Note" Visibility="Hidden"></TabItem>
|
||||
</TabControl>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
<Grid Name="HSplitGridBottom" Grid.Row="1">
|
||||
|
||||
</Grid>
|
||||
<StatusBar Name="Status" Grid.Row="2" Height="30">
|
||||
<StatusBarItem HorizontalContentAlignment="Left">
|
||||
<Label Name="StatusHeaderLabel"></Label>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalContentAlignment="Left">
|
||||
<Label Name="StatusLabel"></Label>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalContentAlignment="Right">
|
||||
<ProgressBar Name="StatusProgress" Width="100" Height="16" Grid.Column="1"/>
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
</rexf:REXExtensionMainControl>
|
||||
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.PyramidGenerator.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainControl.xaml
|
||||
/// </summary>
|
||||
public partial class MainControl : REX.Common.REXExtensionMainControl
|
||||
{
|
||||
public MainControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public MainControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnRender(DrawingContext drawingContext)
|
||||
{
|
||||
base.OnRender(drawingContext);
|
||||
}
|
||||
|
||||
private void Toolbox_SelectedItemChanged(object sender, REX.Controls.WPF.REXToolboxItem item)
|
||||
{
|
||||
base.Toolbox_SelectItem(sender, item);
|
||||
}
|
||||
|
||||
private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
|
||||
{
|
||||
if (e.Command is REX.Common.REXRoutedUICommand)
|
||||
RunCommand((e.Command as REX.Common.REXRoutedUICommand).Name);
|
||||
}
|
||||
|
||||
private void CommandBinding_CanExecute(object sender, CanExecuteRoutedEventArgs e)
|
||||
{
|
||||
if (e.Command is REX.Common.REXRoutedUICommand)
|
||||
e.CanExecute = CanRunCommand((e.Command as REX.Common.REXRoutedUICommand).Name);
|
||||
else
|
||||
e.CanExecute = true;
|
||||
}
|
||||
|
||||
private bool CanRunCommand(string Name)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
private void RunCommand(string Name)
|
||||
{
|
||||
REXCommand Cmd = null;
|
||||
switch (Name)
|
||||
{
|
||||
case "Open":
|
||||
ThisExtension.System.LoadFromFile(true);
|
||||
return;
|
||||
case "Save":
|
||||
ThisExtension.System.SaveToFile(false, true);
|
||||
return;
|
||||
case "SaveAs":
|
||||
ThisExtension.System.SaveToFile(true);
|
||||
return;
|
||||
case "Calculate":
|
||||
Cmd = new REXCommand(REXCommandType.Run);
|
||||
break;
|
||||
case "Help":
|
||||
Cmd = new REXCommand(REXCommandType.Help);
|
||||
break;
|
||||
case "Close":
|
||||
Cmd = new REXCommand(REXCommandType.Close);
|
||||
break;
|
||||
case "About":
|
||||
Cmd = new REXCommand(REXCommandType.About);
|
||||
break;
|
||||
case "Preferences":
|
||||
ThisExtension.ShowPreferencesDialog();
|
||||
break;
|
||||
}
|
||||
if (Cmd != null)
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<rexf:REXExtensionWindow x:Class="REX.PyramidGenerator.Resources.Dialogs.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
Title="PyramidGenerator" Height="240" Width="638" MinWidth="500" MinHeight="200" Background="{x:Static SystemColors.ControlBrush}" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" SnapsToDevicePixels="True"
|
||||
Closing="REXExtensionWindow_Closing">
|
||||
<Grid>
|
||||
<Grid Height="45" Name="Buttons" VerticalAlignment="Bottom">
|
||||
<TextBlock Name="Help" Margin="6,13,0,9" HorizontalAlignment="Left" Width="111.5">
|
||||
<Hyperlink Click="HyperlinkHelp_Click">
|
||||
Help
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock Name="About" Margin="132,13,0,9" HorizontalAlignment="Left" Width="146">
|
||||
<Hyperlink Click="HyperlinkAbout_Click">
|
||||
About
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
|
||||
<Button Margin="0,13,87,9" Name="ButtonApply" HorizontalAlignment="Right" Width="75" Click="ButtonApply_Click">OK</Button>
|
||||
<Button Margin="0,13,6,9" Name="ButtonClose" HorizontalAlignment="Right" Width="75" Click="ButtonClose_Click">Cancel</Button>
|
||||
<Image Margin="310,2,258,2" Name="Logo" Stretch="None" MinWidth="50" />
|
||||
</Grid>
|
||||
<Grid Name="MainPanel" Margin="0,0,0,43" />
|
||||
</Grid>
|
||||
</rexf:REXExtensionWindow>
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.PyramidGenerator.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : REX.Common.REXExtensionWindow
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public MainWindow(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void ButtonApply_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.OK);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void ButtonClose_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = false;
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void REXExtensionWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = true;
|
||||
if (((bool)ThisExtension.Command(ref Cmd)) == true)
|
||||
e.Cancel = false;
|
||||
else
|
||||
e.Cancel = true;
|
||||
}
|
||||
|
||||
private void HyperlinkHelp_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Help);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void HyperlinkAbout_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.About);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<rexf:REXExtensionControl x:Class="REX.PyramidGenerator.Resources.Dialogs.PyramidNoteControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF"
|
||||
Height="158" Width="435">
|
||||
<Grid>
|
||||
<WebBrowser Name="webBrowser"/>
|
||||
</Grid>
|
||||
</rexf:REXExtensionControl>
|
||||
@@ -0,0 +1,169 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using ROHTMLLib;
|
||||
using System.IO;
|
||||
|
||||
namespace REX.PyramidGenerator.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for SubControl.xaml
|
||||
/// </summary>
|
||||
public partial class PyramidNoteControl : REX.Common.REXExtensionControl
|
||||
{
|
||||
//Step 3.2.: Preparing layouts
|
||||
/// <summary>
|
||||
/// The ROHTML document object
|
||||
/// </summary>
|
||||
IXHTMLDocument HtmlDocument;
|
||||
/// <summary>
|
||||
/// The path of the current document
|
||||
/// </summary>
|
||||
string DocumentPath;
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PyramidNoteControl"/> class.
|
||||
/// </summary>
|
||||
public PyramidNoteControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PyramidNoteControl"/> class.
|
||||
/// </summary>
|
||||
/// <param name="extension">The extension.</param>
|
||||
public PyramidNoteControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills the note according current settings
|
||||
/// </summary>
|
||||
public void SetDialog()
|
||||
{
|
||||
if (HtmlDocument != null)
|
||||
{
|
||||
HtmlDocument = null;
|
||||
ThisExtension.ROHTMLReleaseDocument();
|
||||
}
|
||||
HtmlDocument = ThisExtension.ROHTMLDocument();
|
||||
|
||||
if (File.Exists(DocumentPath))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(DocumentPath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Guid g = System.Guid.NewGuid();
|
||||
DocumentPath = GetTempPath() + "\\" + g.ToString() + ".mht";
|
||||
|
||||
HtmlDocument.Body.AddHeader(1, "Pyramid parameters");
|
||||
string textH = ThisExtension.Units.DisplayTextFromBase(ThisMainExtension.Data.H, Autodesk.REX.Framework.EUnitType.Dimensions_StructureDim, true);
|
||||
HtmlDocument.Body.AddValue2("H", textH);
|
||||
string textB = ThisExtension.Units.DisplayTextFromBase(ThisMainExtension.Data.B, Autodesk.REX.Framework.EUnitType.Dimensions_StructureDim, true);
|
||||
HtmlDocument.Body.AddValue2("B", textB);
|
||||
|
||||
HtmlDocument.SaveAsSingleFile(DocumentPath);
|
||||
webBrowser.Navigate(new Uri(DocumentPath));
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Returns the path to temporary Windows folder.
|
||||
/// </summary>
|
||||
/// <returns>The path.</returns>
|
||||
public string GetTempPath()
|
||||
{
|
||||
string path = Environment.GetEnvironmentVariable("temp");
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
path = System.IO.Path.GetFullPath(System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "..\\Temp"));
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
path = path + "\\PyramidGenerator";
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
return path;
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Clears resources before closing the module
|
||||
/// </summary>
|
||||
public void Release()
|
||||
{
|
||||
if (File.Exists(DocumentPath))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(DocumentPath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
string tempPath = GetTempPath();
|
||||
|
||||
if (Directory.Exists(tempPath))
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.Delete(tempPath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<rexf:REXExtensionControl x:Class="REX.PyramidGenerator.Resources.Dialogs.PyramidParametersControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF"
|
||||
Height="158" Width="435">
|
||||
<Grid Height="158" Width="435">
|
||||
<Label Name="labelH" Content="H=" HorizontalAlignment="Left" Width="34" Height="24" VerticalAlignment="Top" Margin="12,14,0,0" />
|
||||
<rexc:REXEditBox x:Name="editH" RememberCorrect="True" Height="26" Margin="0,12,259,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="124"/>
|
||||
<Label Name="labelB" Content="B=" HorizontalAlignment="Left" Width="34" Height="24" VerticalAlignment="Top" Margin="12,44,0,0" />
|
||||
<rexc:REXUnitEditBox x:Name="editB" RememberCorrect="True" Height="26" Margin="52,44,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="124" UnitType="Dimensions_StructureDim" Power="1"/>
|
||||
<Label Name="labelFamSymbol" Content="Member type:" HorizontalAlignment="Left" Width="164" Margin="12,76,0,58" />
|
||||
<ComboBox Name="comboFamilySymbol" Margin="12,106,216,0" Height="24" VerticalAlignment="Top" />
|
||||
<Border Margin="0,3.5,22,3.5" Width="170" BorderThickness="1" BorderBrush="Gray" HorizontalAlignment="Right" Background="White">
|
||||
<Image VerticalAlignment="Top" Source="/PyramidGenerator;component/Resources/Other/Images/IMAGE_Pyramid.png" HorizontalAlignment="Left" Stretch="None"></Image>
|
||||
</Border>
|
||||
</Grid>
|
||||
</rexf:REXExtensionControl>
|
||||
@@ -0,0 +1,109 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace REX.PyramidGenerator.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for SubControl.xaml
|
||||
/// </summary>
|
||||
public partial class PyramidParametersControl : REX.Common.REXExtensionControl
|
||||
{
|
||||
//Step 3.1.: Preparing layouts
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PyramidParametersControl"/> class.
|
||||
/// </summary>
|
||||
public PyramidParametersControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PyramidParametersControl"/> class.
|
||||
/// </summary>
|
||||
/// <param name="extension">The extension.</param>
|
||||
public PyramidParametersControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//Controls registration
|
||||
ThisMainExtension.DFM.AddUnitObject(editH, Autodesk.REX.Framework.EUnitType.Dimensions_StructureDim, 1);
|
||||
editB.UnitEngine = ThisExtension.Units.UnitsBase;
|
||||
ThisMainExtension.DFM.SetBaseMinValue(editH, true, 1);
|
||||
editB.RangeMinCheck = true;
|
||||
editB.SetBaseMinValue(1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Fills the controls with data
|
||||
/// </summary>
|
||||
public void SetDialog()
|
||||
{
|
||||
ThisMainExtension.DFM.SetDataBase(editH, ThisMainExtension.Data.H);
|
||||
editB.SetDataBaseValue(ThisMainExtension.Data.B);
|
||||
|
||||
comboFamilySymbol.Items.Clear();
|
||||
foreach (string familyString in ThisMainExtension.Data.AvailableFamilySymbols)
|
||||
{
|
||||
comboFamilySymbol.Items.Add(familyString);
|
||||
}
|
||||
|
||||
comboFamilySymbol.SelectedItem = ThisMainExtension.Data.FamilySymbol;
|
||||
}
|
||||
/// <summary>
|
||||
/// Updates the Data with parameters from the controls
|
||||
/// </summary>
|
||||
public void SetData()
|
||||
{
|
||||
ThisMainExtension.Data.H = ThisMainExtension.DFM.GetDataBase(editH);
|
||||
ThisMainExtension.Data.B = editB.GetDataBaseValue();
|
||||
|
||||
if (comboFamilySymbol.SelectedItem != null)
|
||||
ThisMainExtension.Data.FamilySymbol = comboFamilySymbol.SelectedItem.ToString();
|
||||
else
|
||||
ThisMainExtension.Data.FamilySymbol = "";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 915 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 421 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 611 B |
|
After Width: | Height: | Size: 740 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 679 B |
|
After Width: | Height: | Size: 444 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 714 B |
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace REX.PyramidGenerator.Resources.Strings {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Texts {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Texts() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("REX.PyramidGenerator.Resources.Strings.Texts", typeof(Texts).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Data.
|
||||
/// </summary>
|
||||
internal static string LIST_Data {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Data", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Results.
|
||||
/// </summary>
|
||||
internal static string LIST_Results {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Results", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Question.
|
||||
/// </summary>
|
||||
internal static string MessageBox_CaptionQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_CaptionQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Errors occurred! Do you want to continue?.
|
||||
/// </summary>
|
||||
internal static string MessageBox_ErrorQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_ErrorQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to My extension (PyramidGenerator).
|
||||
/// </summary>
|
||||
internal static string REX_ModuleDescription {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_ModuleDescription", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc.
|
||||
/// </summary>
|
||||
internal static string REX_VersionInfo {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_VersionInfo", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="LIST_Data" xml:space="preserve">
|
||||
<value>Data</value>
|
||||
</data>
|
||||
<data name="LIST_Results" xml:space="preserve">
|
||||
<value>Results</value>
|
||||
</data>
|
||||
<data name="MessageBox_CaptionQuestion" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="MessageBox_ErrorQuestion" xml:space="preserve">
|
||||
<value>Errors occurred! Do you want to continue?</value>
|
||||
</data>
|
||||
<data name="REX_ModuleDescription" xml:space="preserve">
|
||||
<value>My extension (PyramidGenerator)</value>
|
||||
</data>
|
||||
<data name="REX_VersionInfo" xml:space="preserve">
|
||||
<value>To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="PyramidGenerator" description="PyramidGenerator" description_full="PyramidGenerator" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="PyramidGenerator" file="PyramidGenerator.dll" class="REX.PyramidGenerator.Application" direct_revit_class="REX.PyramidGenerator.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="PyramidGenerator" description="PyramidGenerator" description_full="PyramidGenerator" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="PyramidGenerator" file="PyramidGenerator.dll" class="REX.PyramidGenerator.Application" direct_revit_class="REX.PyramidGenerator.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
@@ -0,0 +1,336 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
|
||||
{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\fbidi \froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fbidi \fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;}
|
||||
{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f39\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}Fixedsys{\*\falt Arial Unicode MS};}
|
||||
{\f40\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}@Fixedsys;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}
|
||||
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
|
||||
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f389\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f390\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\f392\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f393\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f394\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f395\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\f396\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f397\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f399\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f400\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}
|
||||
{\f402\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f403\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f404\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f405\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}
|
||||
{\f406\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f407\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f409\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f410\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}
|
||||
{\f412\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f413\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f414\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f415\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}
|
||||
{\f416\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f417\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f729\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f730\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}
|
||||
{\f732\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f733\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f736\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f737\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
|
||||
{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}
|
||||
{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}
|
||||
{\fhimajor\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
|
||||
{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
|
||||
{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
|
||||
{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
|
||||
\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\*\defchp \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
|
||||
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused
|
||||
Normal Table;}}{\*\listtable{\list\listtemplateid154578118\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid-1311219408\'01-;}{\levelnumbers;}
|
||||
\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li1080\lin1080 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li1800\lin1800 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2520\lin2520 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li3240\lin3240 }{\listlevel\levelnfc23\levelnfcn23\leveljc0
|
||||
\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3960\lin3960 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1
|
||||
\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4680\lin4680 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0
|
||||
\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5400\lin5400 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li6120\lin6120 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693
|
||||
\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6840\lin6840 }{\listname ;}\listid670180154}{\list\listtemplateid-1687893750\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0
|
||||
{\leveltext\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li6480\lin6480 }{\listname ;}\listid982462950}{\list\listtemplateid1085811748\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat0\levelspace360\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext
|
||||
\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689
|
||||
\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4320\lin4320 }
|
||||
{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc23\levelnfcn23
|
||||
\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1677884127}{\list\listtemplateid-597548598\listhybrid{\listlevel\levelnfc23
|
||||
\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691
|
||||
\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0
|
||||
\fi-360\li4320\lin4320 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1811971856}}{\*\listoverridetable{\listoverride\listid670180154
|
||||
\listoverridecount0\ls1}{\listoverride\listid1811971856\listoverridecount0\ls2}{\listoverride\listid982462950\listoverridecount0\ls3}{\listoverride\listid1677884127\listoverridecount0\ls4}}{\*\rsidtbl \rsid85718\rsid144132\rsid466955\rsid538525
|
||||
\rsid1341502\rsid2307087\rsid2313257\rsid2495712\rsid3430511\rsid3892547\rsid3954021\rsid3958282\rsid4725936\rsid5203659\rsid5274961\rsid5391178\rsid5445335\rsid5986209\rsid6180407\rsid6187565\rsid6453515\rsid6580505\rsid7355889\rsid7436494\rsid8611418
|
||||
\rsid9179826\rsid9184542\rsid9516237\rsid10036332\rsid10166885\rsid10180232\rsid10189020\rsid10497927\rsid10511401\rsid11300316\rsid11929831\rsid11953826\rsid12151557\rsid12855747\rsid12985103\rsid14251038\rsid14645320\rsid14760119\rsid15734330
|
||||
\rsid15753286\rsid15813555\rsid15992273\rsid16201153\rsid16269875\rsid16544664}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author wolskip}{\operator Pawel Madej}
|
||||
{\creatim\yr2011\mo2\dy9\hr12\min32}{\revtim\yr2017\mo1\dy12\hr17\min30}{\version22}{\edmins167}{\nofpages2}{\nofwords483}{\nofchars2757}{\nofcharsws3234}{\vern57441}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}
|
||||
\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
|
||||
\widowctrl\ftnbj\aenddoc\hyphhotz425\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120
|
||||
\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale130\rsidroot15753286 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\headery708\footery708\colsx708\sectdefaultcl\sftnbj {\*\pnseclvl1
|
||||
\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5
|
||||
\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
|
||||
{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Application:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11953826 \hich\af1\dbch\af31505\loch\f1 PyramidGenerator}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1
|
||||
\ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 R}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 EXSDK}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 Version:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9184542 \hich\af1\dbch\af31505\loch\f1 201}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid16544664 \hich\af1\dbch\af31505\loch\f1 8}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid8611418 .0\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 First Released For:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1
|
||||
REXSDK 2012}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Last Modified:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12151557 \hich\af1\dbch\af31505\loch\f1 01}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 /}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid12151557 \hich\af1\dbch\af31505\loch\f1 07}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 /20}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515
|
||||
\hich\af1\dbch\af31505\loch\f1 1}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12151557 \hich\af1\dbch\af31505\loch\f1 6}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0
|
||||
\b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Modified By:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Autodesk\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 Programming Language:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 C#\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1
|
||||
Skill Level:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Medium}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10497927 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11300316
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid11300316 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid11300316 \hich\af1\dbch\af31505\loch\f1 Note: }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid11300316\charrsid11300316 \hich\af1\dbch\af31505\loch\f1 For more information about this sample please read the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid11300316\charrsid11300316 \loch\af1\dbch\af31505\hich\f1 \'93\loch\f1
|
||||
Pyramid Generator \hich\f1 \endash \loch\f1 \hich\f1 Tutorial.pdf\'94\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11300316\charrsid11300316 \hich\af1\dbch\af31505\loch\f1
|
||||
provided with SDK. It shows the whole process of the Extension module creation step by step.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid11300316
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Subject:}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11953826 \hich\af1\dbch\af31505\loch\f1 Generates a pyramid structure made of beams. }{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid2495712
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15813555 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1
|
||||
Summary:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 \line This sample demonstrates how to create}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid85718 \hich\af1\dbch\af31505\loch\f1
|
||||
an Extension module based on }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid85718 \hich\af1\dbch\af31505\loch\f1 WPF technology.}{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid85718 \hich\af1\dbch\af31505\loch\f1 The module }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11953826
|
||||
\hich\af1\dbch\af31505\loch\f1 generates a pyramid structure made of beams. The size of a pyramid is determined by the width and th\hich\af1\dbch\af31505\loch\f1 e height parameters. }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3892547
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9516237
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3892547 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 REXSDK values:}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid3892547
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid8611418 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 Create the REX extension module in WPF technology with}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 a}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 multi}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 layout dialog.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132 \hich\af1\dbch\af39\loch\f1 -\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 Use}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 REXUnit system to present data formatted according Revit settings.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid10511401 \hich\af1\dbch\af39\loch\f1 -\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid10511401
|
||||
\hich\af1\dbch\af39\loch\f1 Use}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid10511401
|
||||
\hich\af1\dbch\af39\loch\f1 REX Extension Progress.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132 \hich\af1\dbch\af39\loch\f1 -\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 Use}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid144132
|
||||
\hich\af1\dbch\af39\loch\f1 REXEditBox for unit dependent data.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889\charrsid11953826 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar
|
||||
\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid11953826 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889\charrsid11953826 \hich\af1\dbch\af39\loch\f1 Use}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418\charrsid11953826 \hich\af1\dbch\af39\loch\f1 the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889\charrsid11953826 \hich\af1\dbch\af39\loch\f1 REX}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11953826\charrsid11953826 \hich\af1\dbch\af39\loch\f1 UnitEditBox }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11953826
|
||||
\hich\af1\dbch\af39\loch\f1 for unit dependent data.}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid8611418\charrsid11953826
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11953826\charrsid1341502 \hich\af1\dbch\af39\loch\f1 -\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid11953826\charrsid1341502 \hich\af1\dbch\af39\loch\f1 Use the REX serialization system.}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid11953826\charrsid1341502
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid11953826 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid11953826
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Project Files:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Generated by the wizard:
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1 Extension.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15992273 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1 The main class generated by the wizar\hich\af1\dbch\af31505\loch\f1
|
||||
d. It contains definition of the Extension class which is the main class in the REXExtension module. This class is a central point which al}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565 \hich\af1\dbch\af31505\loch\f1
|
||||
lows user to manage and customize the module.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par \hich\af1\dbch\af31505\loch\f1 ExtensionRevit.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565 \hich\af1\dbch\af31505\loch\f1 This file contains an ExtensionRevit class. This cl
|
||||
\hich\af1\dbch\af31505\loch\f1
|
||||
ass allows to separate general functionality (provided by the Extension class) from functionality characteristic for the Revit context e.g. setting layouts may be done in the Extension class but reading Revit elements should be carried out in the Extensio
|
||||
\hich\af1\dbch\af31505\loch\f1 n\hich\af1\dbch\af31505\loch\f1 Revit class (unless the specific layout is set only in the Revit context).}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1
|
||||
In the current example the ExtensionRevit class: reads Revits selection}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 , creates the pyramid based on the parameters}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid6180407 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Data.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 This file contains a Data class which is a data contai
|
||||
\hich\af1\dbch\af31505\loch\f1 ner accessible from different places in the module. All common objects should be placed in this class.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Application.cs, DirectAccess.cs, Results.cs}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 , Settings.cs}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid10189020 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 These files were generated by the wizard but there is no need to }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 make any changes in }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 their}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 cont\hich\af1\dbch\af31505\loch\f1 ent.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 Added manually:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 PyramidNoteControl}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 .xaml,}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid9179826\charrsid9179826 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 PyramidNoteControl}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407
|
||||
\hich\af1\dbch\af31505\loch\f1 .xaml.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 These file}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 s}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 contain }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 a }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 definition of }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 the note control.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7436494
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 PyramidParametersControl}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 .xaml,}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7436494\charrsid7436494 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 PyramidParametersControl.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494
|
||||
\hich\af1\dbch\af31505\loch\f1 xaml.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 These files contain }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 a }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 definition of the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826
|
||||
\hich\af1\dbch\af31505\loch\f1 layout which presents current parameters of the pyramid and allows for theirs modification}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 . }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid6180407 \tab
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 IPyramidGenerator}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1 .cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1 This file contains a }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid9179826 \hich\af1\dbch\af31505\loch\f1 definition of the IPyramidGenerator interface for communication with external module.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3892547
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Description:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 }{
|
||||
\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid11929831 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 This sample}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid9179826 \hich\af1\dbch\af39\loch\f1 gener\hich\af1\dbch\af39\loch\f1 ates }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid9516237 \hich\af1\dbch\af39\loch\f1 a}{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid9179826 \hich\af1\dbch\af39\loch\f1 pyramid structure }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid9516237 \hich\af1\dbch\af39\loch\f1 made of beams. The }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid4725936 \hich\af1\dbch\af39\loch\f1 size of the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid9516237 \hich\af1\dbch\af39\loch\f1
|
||||
pyramid is determined}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid4725936 \hich\af1\dbch\af39\loch\f1 by the height and width parameters.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid5274961 \hich\af1\dbch\af39\loch\f1 All parameters are set on the first layout. The second one presents current settings as an HTML report.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 \hich\af1\dbch\af39\loch\f1 The set of parameters may be saved in \hich\af1\dbch\af39\loch\f1 a file and loaded from it as well. The structure generated in Revit may be modified}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1341502 \hich\af1\dbch\af39\loch\f1 , by launching the module with a proper selection}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 .}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1341502 \hich\af1\dbch\af39\loch\f1 The PyramidGenerator Extension is also prepared to exchange data with other modules by the IPyramidGenerator interface.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 I\hich\af1\dbch\af39\loch\f1 nstructions:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\cf2\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf2\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 1.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Open Revit.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 \hich\af1\dbch\af39\loch\f1 2.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831
|
||||
\hich\af1\dbch\af39\loch\f1 Launch the module.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 \hich\af1\dbch\af39\loch\f1 3.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid11929831 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 \hich\af1\dbch\af39\loch\f1 Define all parameters.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320 \hich\af1\dbch\af39\loch\f1 4.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320 \hich\af1\dbch\af39\loch\f1 Click}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 the OK button.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 5.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Application will create }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320 \hich\af1\dbch\af39\loch\f1 a }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11929831 \hich\af1\dbch\af39\loch\f1 Pyramid structure.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
|
||||
9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
|
||||
5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
|
||||
b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
|
||||
0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
|
||||
a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
|
||||
c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
|
||||
0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
|
||||
a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
|
||||
6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
|
||||
4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
|
||||
4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f
|
||||
7468656d65312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87
|
||||
615b8116d8a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad
|
||||
79482a9c0498f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b
|
||||
5d8a314d3c94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab
|
||||
999fb7b4717509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9
|
||||
699640f6719e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd586
|
||||
8b37a088d1e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d6
|
||||
0cf03ac1a5193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f
|
||||
9e7ef3f2d117d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be
|
||||
15c308d3f28acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a9979
|
||||
3849c26ae66252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d
|
||||
32a423279a668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2a
|
||||
f074481847bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86
|
||||
e877f0034e16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb
|
||||
44f95d843b5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a
|
||||
6409fb44d08741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c
|
||||
3d9058edf2c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db0256
|
||||
5e85f3b9660d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276
|
||||
b9f7dec44b7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8
|
||||
c33585b5fb9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e
|
||||
51440ca2e0088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95
|
||||
b21be5ceaf8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff
|
||||
6dce591a26ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec6
|
||||
9ffb9e65d028d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239
|
||||
b75a5bb1e6345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a449
|
||||
59d366ad93b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e8
|
||||
2db8df9f30254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468
|
||||
656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4
|
||||
350d363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d2624
|
||||
52282e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe5141
|
||||
73d9850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000
|
||||
0000000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000
|
||||
000000000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019
|
||||
0200007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b00001600000000
|
||||
000000000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027
|
||||
00000000000000000000000000a00900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d0100009b0a00000000}
|
||||
{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
|
||||
617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
|
||||
6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
|
||||
656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
|
||||
{\*\latentstyles\lsdstimax371\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdpriority59 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdlocked0 Placeholder Text;
|
||||
\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;
|
||||
\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;
|
||||
\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;
|
||||
\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
|
||||
\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;
|
||||
\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;
|
||||
\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;
|
||||
\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;
|
||||
\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
|
||||
\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
|
||||
\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
|
||||
\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
|
||||
\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
|
||||
\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
|
||||
\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
|
||||
\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
|
||||
\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
|
||||
\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
|
||||
\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;}}{\*\datastore 010500000200000018000000
|
||||
4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000
|
||||
d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e5000000000000000000000000102f
|
||||
2127f16cd201feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||