mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-23 12:02:39 +00:00
copied Revit 2024 SDK
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,141 @@
|
||||
namespace SteelConnectionsJointExample
|
||||
{
|
||||
partial class Page1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Page1));
|
||||
this.axAstUnitPlateThickness = new AxASTCONTROLSLib.AxAstUnitControl();
|
||||
this.axAstUnitPlateLength = new AxASTCONTROLSLib.AxAstUnitControl();
|
||||
this.axAstUnitPlateWidth = new AxASTCONTROLSLib.AxAstUnitControl();
|
||||
this.axAstUnitCutBack = new AxASTCONTROLSLib.AxAstUnitControl();
|
||||
this.axAnchor = new AxASTCONTROLSLib.AxBoltStandards();
|
||||
this.axAstControls1 = new AxASTCONTROLSLib.AxAstControls();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateThickness)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateLength)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateWidth)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitCutBack)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAnchor)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstControls1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// axAstUnitPlateThickness
|
||||
//
|
||||
this.axAstUnitPlateThickness.Location = new System.Drawing.Point(13, 13);
|
||||
this.axAstUnitPlateThickness.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.axAstUnitPlateThickness.Name = "axAstUnitPlateThickness";
|
||||
this.axAstUnitPlateThickness.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAstUnitPlateThickness.OcxState")));
|
||||
this.axAstUnitPlateThickness.Size = new System.Drawing.Size(281, 29);
|
||||
this.axAstUnitPlateThickness.TabIndex = 0;
|
||||
this.axAstUnitPlateThickness.ValueChanged += new System.EventHandler(this.axAstUnitPlateThickness_ValueChanged);
|
||||
//
|
||||
// axAstUnitPlateLength
|
||||
//
|
||||
this.axAstUnitPlateLength.Location = new System.Drawing.Point(13, 42);
|
||||
this.axAstUnitPlateLength.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.axAstUnitPlateLength.Name = "axAstUnitPlateLength";
|
||||
this.axAstUnitPlateLength.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAstUnitPlateLength.OcxState")));
|
||||
this.axAstUnitPlateLength.Size = new System.Drawing.Size(281, 29);
|
||||
this.axAstUnitPlateLength.TabIndex = 1;
|
||||
this.axAstUnitPlateLength.ValueChanged += new System.EventHandler(this.axAstUnitPlateLength_ValueChanged);
|
||||
//
|
||||
// axAstUnitPlateWidth
|
||||
//
|
||||
this.axAstUnitPlateWidth.Location = new System.Drawing.Point(13, 71);
|
||||
this.axAstUnitPlateWidth.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.axAstUnitPlateWidth.Name = "axAstUnitPlateWidth";
|
||||
this.axAstUnitPlateWidth.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAstUnitPlateWidth.OcxState")));
|
||||
this.axAstUnitPlateWidth.Size = new System.Drawing.Size(281, 29);
|
||||
this.axAstUnitPlateWidth.TabIndex = 2;
|
||||
this.axAstUnitPlateWidth.ValueChanged += new System.EventHandler(this.axAstUnitPlateWidth_ValueChanged);
|
||||
//
|
||||
// axAstUnitCutBack
|
||||
//
|
||||
this.axAstUnitCutBack.Location = new System.Drawing.Point(13, 100);
|
||||
this.axAstUnitCutBack.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.axAstUnitCutBack.Name = "axAstUnitCutBack";
|
||||
this.axAstUnitCutBack.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAstUnitCutBack.OcxState")));
|
||||
this.axAstUnitCutBack.Size = new System.Drawing.Size(281, 29);
|
||||
this.axAstUnitCutBack.TabIndex = 3;
|
||||
this.axAstUnitCutBack.ValueChanged += new System.EventHandler(this.axAstUnitCutBack_ValueChanged);
|
||||
//
|
||||
// axAnchor
|
||||
//
|
||||
this.axAnchor.Location = new System.Drawing.Point(13, 130);
|
||||
this.axAnchor.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.axAnchor.Name = "axAnchor";
|
||||
this.axAnchor.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAnchor.OcxState")));
|
||||
this.axAnchor.Size = new System.Drawing.Size(305, 151);
|
||||
this.axAnchor.TabIndex = 4;
|
||||
this.axAnchor.BoltChanged += new System.EventHandler(this.axAnchor_BoltChanged);
|
||||
//
|
||||
// axAstControls1
|
||||
//
|
||||
this.axAstControls1.Location = new System.Drawing.Point(330, 17);
|
||||
this.axAstControls1.Name = "axAstControls1";
|
||||
this.axAstControls1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAstControls1.OcxState")));
|
||||
this.axAstControls1.Size = new System.Drawing.Size(269, 243);
|
||||
this.axAstControls1.TabIndex = 5;
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(624, 354);
|
||||
this.Controls.Add(this.axAstControls1);
|
||||
this.Controls.Add(this.axAnchor);
|
||||
this.Controls.Add(this.axAstUnitCutBack);
|
||||
this.Controls.Add(this.axAstUnitPlateWidth);
|
||||
this.Controls.Add(this.axAstUnitPlateLength);
|
||||
this.Controls.Add(this.axAstUnitPlateThickness);
|
||||
this.Enabled = false;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Name = "Page1";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Page1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateThickness)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateLength)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitPlateWidth)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstUnitCutBack)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAnchor)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axAstControls1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AxASTCONTROLSLib.AxAstUnitControl axAstUnitPlateThickness;
|
||||
private AxASTCONTROLSLib.AxAstUnitControl axAstUnitPlateLength;
|
||||
private AxASTCONTROLSLib.AxAstUnitControl axAstUnitPlateWidth;
|
||||
private AxASTCONTROLSLib.AxAstUnitControl axAstUnitCutBack;
|
||||
private AxASTCONTROLSLib.AxBoltStandards axAnchor;
|
||||
private AxASTCONTROLSLib.AxAstControls axAstControls1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright 2015 Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Use of this software is subject to the terms of the Autodesk license
|
||||
// agreement provided at the time of installation or download, or which
|
||||
// otherwise accompanies this software in either electronic or hard copy form.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
using Autodesk.AdvanceSteel.DotNetRoots;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using AstSTEELAUTOMATIONLib;
|
||||
|
||||
namespace SteelConnectionsJointExample
|
||||
{
|
||||
public partial class Page1 : Form
|
||||
{
|
||||
private CreatePlate m_CurRule = null;
|
||||
|
||||
private const int WS_CHILD = 0x40000000;
|
||||
|
||||
public Page1()
|
||||
{
|
||||
InitializeComponent();
|
||||
ScaleAxControls();
|
||||
}
|
||||
|
||||
public Page1(CreatePlate rule)
|
||||
{
|
||||
InitializeComponent();
|
||||
ScaleAxControls();
|
||||
|
||||
m_CurRule = rule;
|
||||
|
||||
axAstUnitPlateThickness.DoubleValue = m_CurRule.m_dPlateThickness;
|
||||
axAstUnitPlateLength.DoubleValue = m_CurRule.m_dPlateLength;
|
||||
axAstUnitPlateWidth.DoubleValue = m_CurRule.m_dPlateWidth;
|
||||
axAstUnitCutBack.DoubleValue = m_CurRule.m_dCutBack;
|
||||
|
||||
axAnchor.BoltStandard = m_CurRule.m_sAnchorType;
|
||||
axAnchor.BoltMaterial = m_CurRule.m_sAnchorMaterial;
|
||||
axAnchor.BoltSet = m_CurRule.m_sAnchorAssembly;
|
||||
axAnchor.BoltDiameter = m_CurRule.m_dAnchorDiameter;
|
||||
axAnchor.AnchorLength = m_CurRule.m_dAnchorLength;
|
||||
}
|
||||
|
||||
protected override CreateParams CreateParams
|
||||
{
|
||||
get
|
||||
{
|
||||
CreateParams cp = base.CreateParams;
|
||||
cp.Style = cp.Style | WS_CHILD;
|
||||
return cp;
|
||||
}
|
||||
}
|
||||
|
||||
private void axAstUnitPlateThickness_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Add your message handler code here
|
||||
if (m_CurRule != null)
|
||||
{
|
||||
IJoint curJoint = m_CurRule.Joint;
|
||||
if (axAstUnitPlateThickness.DoubleValue != m_CurRule.m_dPlateThickness)
|
||||
{
|
||||
m_CurRule.m_dPlateThickness = axAstUnitPlateThickness.DoubleValue;
|
||||
curJoint.SaveData(m_CurRule);
|
||||
curJoint.UpdateDrivenConstruction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void axAstUnitPlateLength_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Add your message handler code here
|
||||
if (m_CurRule != null)
|
||||
{
|
||||
IJoint curJoint = m_CurRule.Joint;
|
||||
if (axAstUnitPlateLength.DoubleValue != m_CurRule.m_dPlateLength)
|
||||
{
|
||||
m_CurRule.m_dPlateLength = axAstUnitPlateLength.DoubleValue;
|
||||
curJoint.SaveData(m_CurRule);
|
||||
curJoint.UpdateDrivenConstruction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void axAstUnitPlateWidth_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Add your message handler code here
|
||||
if (m_CurRule != null)
|
||||
{
|
||||
IJoint curJoint = m_CurRule.Joint;
|
||||
if (axAstUnitPlateWidth.DoubleValue != m_CurRule.m_dPlateWidth)
|
||||
{
|
||||
m_CurRule.m_dPlateWidth = axAstUnitPlateWidth.DoubleValue;
|
||||
curJoint.SaveData(m_CurRule);
|
||||
curJoint.UpdateDrivenConstruction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void axAstUnitCutBack_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Add your message handler code here
|
||||
if (m_CurRule != null)
|
||||
{
|
||||
IJoint curJoint = m_CurRule.Joint;
|
||||
if (axAstUnitCutBack.DoubleValue != m_CurRule.m_dCutBack)
|
||||
{
|
||||
m_CurRule.m_dCutBack = axAstUnitCutBack.DoubleValue;
|
||||
curJoint.SaveData(m_CurRule); //Save data to joint
|
||||
curJoint.UpdateDrivenConstruction(); //Update the joint
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void axAnchor_BoltChanged(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Add your message handler code here
|
||||
if (m_CurRule != null)
|
||||
{
|
||||
IJoint curJoint = m_CurRule.Joint;
|
||||
|
||||
if (axAnchor.AnchorLength != m_CurRule.m_dAnchorLength ||
|
||||
axAnchor.BoltDiameter != m_CurRule.m_dAnchorDiameter ||
|
||||
axAnchor.BoltMaterial != m_CurRule.m_sAnchorMaterial ||
|
||||
axAnchor.BoltStandard != m_CurRule.m_sAnchorType ||
|
||||
axAnchor.BoltSet != m_CurRule.m_sAnchorAssembly)
|
||||
{
|
||||
m_CurRule.m_sAnchorType = axAnchor.BoltStandard;
|
||||
m_CurRule.m_sAnchorMaterial = axAnchor.BoltMaterial;
|
||||
m_CurRule.m_sAnchorAssembly = axAnchor.BoltSet;
|
||||
m_CurRule.m_dAnchorDiameter = axAnchor.BoltDiameter;
|
||||
m_CurRule.m_dAnchorLength = axAnchor.AnchorLength;
|
||||
|
||||
curJoint.SaveData(m_CurRule); //Save data to joint
|
||||
curJoint.UpdateDrivenConstruction(); //Update the joint
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ScaleAxControls()
|
||||
{
|
||||
axAstUnitPlateThickness.Location = AstDpi.Scale(axAstUnitPlateThickness.Location);
|
||||
axAstUnitPlateLength.Location = AstDpi.Scale(axAstUnitPlateLength.Location);
|
||||
axAstUnitPlateWidth.Location = AstDpi.Scale(axAstUnitPlateWidth.Location);
|
||||
axAstUnitCutBack.Location = AstDpi.Scale(axAstUnitCutBack.Location);
|
||||
axAnchor.Location = AstDpi.Scale(axAnchor.Location);
|
||||
axAstControls1.Location = AstDpi.Scale(axAstControls1.Location);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="axAstUnitPlateThickness.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAZAAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAE8AAAADAAEAPBcAAGYCAABEAAAAAANS4wuRj84RneMAqgBLuFEBAAAAkAEg
|
||||
SAEAFE1pY3Jvc29mdCBTYW5zIFNlcmlmAQAA////AOCTBACCAAAACw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="axAstUnitPlateLength.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAZAAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAE8AAAADAAEAPBcAAGYCAABEAAAAAANS4wuRj84RneMAqgBLuFEBAAAAkAEg
|
||||
SAEAFE1pY3Jvc29mdCBTYW5zIFNlcmlmAQAA////AOGTBACCAAAACw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="axAstUnitPlateWidth.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAZAAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAE8AAAADAAEAPBcAAGYCAABEAAAAAANS4wuRj84RneMAqgBLuFEBAAAAkAEg
|
||||
SAEAFE1pY3Jvc29mdCBTYW5zIFNlcmlmAQAA////AOKTBACCAAAACw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="axAstUnitCutBack.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAZAAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAE8AAAADAAEAPBcAAGYCAABEAAAAAANS4wuRj84RneMAqgBLuFEBAAAAkAEg
|
||||
SAEAFE1pY3Jvc29mdCBTYW5zIFNlcmlmAQAA////AOOTBACCAAAACw==
|
||||
</value>
|
||||
</data>
|
||||
<data name="axAnchor.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAArgAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAJkAAAADAAEAOBkAAHwMAABEAAAAAANS4wuRj84RneMAqgBLuFEBAAAAkAEg
|
||||
SAEAFE1pY3Jvc29mdCBTYW5zIFNlcmlmAQAAAkPICQAAdngBAHd4AQB4eAEAAAAAAAAAMEACAP/+/xBK
|
||||
AC0AQQBuAGsAZQByACAAUgBpAG4AZwBiAHUAYwBoAP/+/wM0AC4ANgAAAAAAACB8QM0JAAAL
|
||||
</value>
|
||||
</data>
|
||||
<data name="axAstControls1.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAKgAAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAABUAAAADAAEAPhYAABgUAABAAAAAAW/tAAAL
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,36 @@
|
||||
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("SteelConnectionsJointExample")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Autodesk")]
|
||||
[assembly: AssemblyProduct("SteelConnectionsJointExample")]
|
||||
[assembly: AssemblyCopyright("Copyright © Autodesk 2015")]
|
||||
[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(true)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("e2d67290-4d6c-4a85-a02b-db93e642f9c9")]
|
||||
|
||||
// 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 Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\StructuralConnectionsSDKSamples.Common.props" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
||||
<ProjectGuid>{0D5537D0-19F6-40A0-B5C6-852210AE6983}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SteelConnectionsJointExample</RootNamespace>
|
||||
<AssemblyName>SteelConnectionsJointExample</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Binaries\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Binaries\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DotNetRoots">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(ASInstallDir)\DotNetRoots.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AxInterop.ASTCONTROLSLib">
|
||||
<HintPath>$(ASInstallDir)\AxInterop.ASTCONTROLSLib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Interop.AstSTEELAUTOMATIONLib5">
|
||||
<HintPath>$(ASInstallDir)\Interop.AstSTEELAUTOMATIONLib5.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Interop.DSCGEOMCOMLib">
|
||||
<HintPath>$(ASInstallDir)\Interop.DSCGEOMCOMLib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Interop.DSCODBCCOMLib">
|
||||
<HintPath>$(ASInstallDir)\Interop.DSCODBCCOMLib.dll</HintPath>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CreatePlate.cs" />
|
||||
<Compile Include="Page1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Page1.Designer.cs">
|
||||
<DependentUpon>Page1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Page1.resx">
|
||||
<DependentUpon>Page1.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\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,16 @@
|
||||
CREATE TABLE [dbo].[RULE_CreatePlate]
|
||||
(
|
||||
[Key] INT NOT NULL,
|
||||
[Comment] NVARCHAR (64) NULL,
|
||||
[Section] NVARCHAR (128) NULL,
|
||||
[PlateThickness] FLOAT (53) NULL,
|
||||
[PlateLength] FLOAT (53) NULL,
|
||||
[PlateWidth] FLOAT (53) NULL,
|
||||
[CutBack] FLOAT (53) NULL,
|
||||
[AnchorMaterial] NVARCHAR (50) NULL,
|
||||
[AnchorType] NVARCHAR (50) NULL,
|
||||
[AnchorAssembly] NVARCHAR (50) NULL,
|
||||
[AnchorDiameter] FLOAT (53) NULL,
|
||||
[AnchorLength] FLOAT (53) NULL,
|
||||
[HoleTolerance] FLOAT (53) NULL
|
||||
)
|
||||
Reference in New Issue
Block a user