文件名称:inventorhelpexamples_assembly_occ
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 39kb
- 下载次数:
- 0次
- 提 供 者:
- maoq*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
转载自:http://modthemachine.typepad.com/my_weblog/2012/10/c-help-examples-for-assemblies-occurences.html-Here is another section of VBA examples converted to C#. These functions are related to using occurrences in assemblies. This group was fairly easy to migrate compared to some of the other sections I did for previous posts. Also there were several C# examples already in the help file. I added them to the project for completeness.
This project has the following functions.
AddOccurrencesToFolder
Demote
Promote
ReplaceContentCenterPart
AssemblyCount
MoveOccurrence
AddOccurrence
AddiAssemblyOccurrence
AddiPartOccurrence
iMateDuringOccurrencePlacementSample
AddOccurrenceWithRepresentations、
Here is the AddOccurrencesToFolder function:"
// Add assembly occurrences to a new folder API Sample
//Descr iption
//Demonstrates assembly occurrences to a new folder
//Have an assembly with at least one occurrence in it
//and run the sample.
public void AddOccurrencesToFolder()
{
AssemblyDocument oDoc =
default(AssemblyDocument)
oDoc =
This project has the following functions.
AddOccurrencesToFolder
Demote
Promote
ReplaceContentCenterPart
AssemblyCount
MoveOccurrence
AddOccurrence
AddiAssemblyOccurrence
AddiPartOccurrence
iMateDuringOccurrencePlacementSample
AddOccurrenceWithRepresentations、
Here is the AddOccurrencesToFolder function:"
// Add assembly occurrences to a new folder API Sample
//Descr iption
//Demonstrates assembly occurrences to a new folder
//Have an assembly with at least one occurrence in it
//and run the sample.
public void AddOccurrencesToFolder()
{
AssemblyDocument oDoc =
default(AssemblyDocument)
oDoc =
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Inventor_Help_Examples_CSharp_Assembly_Occs
...........................................\Inventor_Help_Examples_CSharp_Assembly_Occs
...........................................\...........................................\bin
...........................................\...........................................\...\Debug
...........................................\...........................................\...\.....\Inventor_Help_Examples_CSharp_Assembly_Occs.vshost.exe
...........................................\...........................................\...\Release
...........................................\...........................................\Form1.cs
...........................................\...........................................\Form1.Designer.cs
...........................................\...........................................\Form1.resx
...........................................\...........................................\Inventor_Help_Examples_CSharp_Assembly_Occs.csproj
...........................................\...........................................\Inventor_Help_Examples_CSharp_Assembly_Occs.csproj.user
...........................................\...........................................\obj
...........................................\...........................................\...\x86
...........................................\...........................................\...\...\Debug
...........................................\...........................................\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
...........................................\...........................................\...\...\.....\GenerateResource.read.1.tlog
...........................................\...........................................\...\...\.....\GenerateResource.write.1.tlog
...........................................\...........................................\...\...\.....\Inventor_Help_Examples_CSharp_Assembly_Occs.csproj.FileListAbsolute.txt
...........................................\...........................................\...\...\.....\Inventor_Help_Examples_CSharp_Assembly_Occs.Form1.resources
...........................................\...........................................\...\...\.....\Inventor_Help_Examples_CSharp_Assembly_Occs.Properties.Resources.resources
...........................................\...........................................\...\...\.....\TempPE
...........................................\...........................................\...\...\Release
...........................................\...........................................\Program.cs
...........................................\...........................................\Properties
...........................................\...........................................\..........\AssemblyInfo.cs
...........................................\...........................................\..........\Resources.Designer.cs
...........................................\...........................................\..........\Resources.resx
...........................................\...........................................\..........\Settings.Designer.cs
...........................................\...........................................\..........\Settings.settings
...........................................\Inventor_Help_Examples_CSharp_Assembly_Occs.sln
...........................................\Inventor_Help_Examples_CSharp_Assembly_Occs.suo