我有一个小代码来提取当前的选择从revit,但我得到一个错误说预期的选择,得到listelementId 我也试着像在API中一样传递GetElementIds(),但它说它需要1个参数(给定了0)。from System.Collections.Generic import List as CL
Selected=Selection.Selection.GetElementIds
我在编写脚本时遇到了问题,该脚本让med在我的选择中选择第一个元素。这对我很有用,因为我从明细表中选择了正确的风道末端(在该明细表中,我可以看到要使用的类似风量),并使用从选择中创建类似风量的命令。问题是,当选择了多个元素时,此命令不起作用。因此,我想要列表中的第一个对象。ActiveUIDocument.Document
selection = [ doc.GetElement( elId ) for elId i
我正在尝试通过使用react - native -map中的'coords‘属性在我的react原生应用程序中使用用户的当前位置。TypeError: null is not an object (evaluating 'currentLocation.coords')
但是当我console.log currentLocation的时候,我可以看到响应中的和弦支点。