- 博客(1)
- 资源 (14)
- 收藏
- 关注
c# 完整工程 创建DLL
c# 完整工程 创建DLL
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<P
2022-04-22
c# dll的创建和调用方法,源码
c# dll的制作和调用方法,源码,可以直接运行
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Show hi = new Show(); // 继承名称空间中定义的Show类
Console.WriteLine(hi.Messages()); // 调用此类中的方法
Console.ReadLine();
}
}
}
2022-04-22
revit二次开发管线翻弯功能
revit二次开发管线翻弯功能
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
UIDocument uiDoc = commandData.Application.ActiveUIDocument;
Document doc = uiDoc.Document;
//交互选择第一个点ObjectType
Reference reference = uiDoc.Selection.PickObject(ObjectType.PointOnElement, new Pipefilter());
XYZ point1 = reference.GlobalPoint;
//交互选择第二个点
Reference
2022-04-21
revite二次开发打断功能实现源码
revite二次开发 管线打断功能 实现源码 revit2020+vs2017
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
//注册外部事件
InterruptPro createWallCommand = null;
ExternalEvent createWallHander = null;
createWallCommand = new InterruptPro();
createWallHander = ExternalEvent.Create(createWallCommand);
createWallHander.Raise();
return Result.Succeeded;
}
2022-04-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人