lovecsharp094

Revit内置了一些命令,直接调用Revit操作方式。

可以去API文档查询PostableCommand枚举,还是很多的。

话不多说,直接上代码

var commandId = RevitCommandId.LookupPostableCommandId(PostableCommand.LineStyles);
if (app.CanPostCommand(commandId))
{
    app.PostCommand(commandId);
}

 

分类:

技术点:

相关文章:

  • 2021-02-07
  • 2021-08-28
  • 2021-12-12
  • 2021-11-04
  • 2021-12-19
  • 2021-11-10
  • 2021-11-25
猜你喜欢
  • 2021-11-15
  • 2019-09-06
  • 2021-08-28
  • 2021-11-15
  • 2021-08-28
  • 2021-11-05
  • 2020-01-14
相关资源
相似解决方案