当前位置:网站首页>Revit Secondary Development - - Project use Panel features not opened
Revit Secondary Development - - Project use Panel features not opened
2022-06-30 05:09:00 【Hé! Hé! Hé!】
1.Paramètres nécessaires pour créer un bouton de panneau“AvailabilityClassName”
2.Réalisation supplémentaire requise “IExternalCommandAvailability” Interface
//
PushButtonData item1 = new PushButtonData("test", "Tests", dllPath, "Test.cmdTest");
item1.AvailabilityClassName = "Test.cmdTest";
//
[Transaction(TransactionMode.Manual)]
public class cmdTest : IExternalCommand, IExternalCommandAvailability
{
public Autodesk.Revit.UI.Result Execute(Autodesk.Revit.UI.ExternalCommandData revit, ref string message,Autodesk.Revit.DB.ElementSet elements)
{
return Result.Succeeded;
}
public bool IsCommandAvailable(UIApplication applicationData, CategorySet selectedCategories)
{
return true;
}
}边栏推荐
- JS 数组的排序 sort方法详解
- Unity3d realizes Google Digital Earth
- GoLand No Tests Were Run : 不能使用 fmt.Printf() <BUG>
- 力扣209. 长度最小的子数组
- Pycharm database tool
- One command to run rancher
- Operation of JSON file
- Configuration and use of controllers and routes in nestjs
- Unity profiler performance analysis
- Unity packaging failure solution
猜你喜欢

Procedural animation -- inverse kinematics of tentacles

Unity3d Google Earth

Parkour demo

The file has been downloaded incorrectly!

力扣977. 有序数组的平方

QT connecting external libraries

Some problems encountered in unity steamvr

力扣349. 两个数组的交集

Malignant bug: 1252 of unit MySQL export

Unity realizes rotation and Revolution
随机推荐
Harbor API 2.0 query
Parkour demo
2021-06-17 solve the problem of QML borderless window stretching, window jitter and flicker when stretching and shrinking
Does the tester need to analyze the cause of the bug?
Under what conditions does the Z-index attribute expire?
Oculus quest2 development: (I) basic environment construction and guide package
Ripple effect of mouse click (unity & shader)
Unity publishing /build settings
Unity application class and data file path
Unity dotween plug-in description
Very nervous. What should I do on the first day of software testing?
Photon pun refresh hall room list
Unity3d packaging and publishing APK process
Unity3d Google Earth
Unit asynchronous jump progress
Go Land no tests were Run: FMT cannot be used. Printf () & lt; BUG & gt;
Chapter 12 pipeline monitoring of OpenGL super classic (version 7)
Ugui uses its own function to realize reverse mask
Unity camera control
Malignant bug: 1252 of unit MySQL export