03 2024 档案

摘要:调用Element.ChangeTypeId Method (ElementId)方法 https://www.revitapidocs.com/2015/479b5d94-abd3-db42-27d7-6a3eda12f285.htm 阅读全文
posted @ 2024-03-30 16:43 greencode 阅读(28) 评论(0) 推荐(0) 编辑
摘要:创建建筑柱参考:https://www.cnblogs.com/redcode/p/18100979 建筑柱创建后再进行旋转,参考官方文档:https://help.autodesk.com/view/RVT/2014/ENU/?guid=GUID-B1C87D72-CAA5-4311-929C-C 阅读全文
posted @ 2024-03-28 10:55 greencode 阅读(132) 评论(0) 推荐(0) 编辑
摘要:出处 https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-column/m-p/8586697 问题 // Get a Column type from Revit FilteredElementCollector colle 阅读全文
posted @ 2024-03-28 10:25 greencode 阅读(90) 评论(0) 推荐(0) 编辑
摘要:参考 https://www.bilibili.com/video/BV13D4y1u7XX/?p=21 代码示例 1、自定义CustomButton按钮继承Button namespace WpfStudy.Buttons { public class CustomButton : Button 阅读全文
posted @ 2024-03-16 20:23 greencode 阅读(992) 评论(0) 推荐(2) 编辑
摘要:只使用行 <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <TextBlock Text="AAAAA" Grid.Row="0"/> <TextBlock Text="BBB 阅读全文
posted @ 2024-03-16 16:19 greencode 阅读(52) 评论(0) 推荐(0) 编辑
摘要:目的:通过例子了解、理解MVVM的基本结构。 Model namespace WpfStudy.Model { public class UserModel { public string Name { get; set; } } } ViewModel namespace WpfStudy.Vie 阅读全文
posted @ 2024-03-16 16:02 greencode 阅读(183) 评论(0) 推荐(0) 编辑
摘要:出处 https://www.theswamp.org/index.php?topic=59354.msg619875#msg619875 问题描述 用以下代码创建了一个Hatch,这Hatch周围没有创建Polyline,如何选择这个无边界Hatch的边界上的点。 比如用line命令时如何捕捉Ha 阅读全文
posted @ 2024-03-16 13:30 greencode 阅读(44) 评论(0) 推荐(0) 编辑
摘要:目的:创建一个资源字典,然后自动引入到各个Window或UserControl中,可以随意使用。 方式: 创建Style文件夹 在Style文件夹内创建一个ButtonStyleStyle.xaml的资源字典 示例如下: <ResourceDictionary xmlns="http://schem 阅读全文
posted @ 2024-03-16 12:54 greencode 阅读(127) 评论(0) 推荐(0) 编辑
摘要:问题出处 https://forums.autodesk.com/t5/net/hatch-to-drawn-polyline-e-message-quot-einvalidinput-quot/m-p/9631373 问题描述 我使用以下语句绘制了一条多段线: Acad.Application.D 阅读全文
posted @ 2024-03-14 14:17 greencode 阅读(242) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示