133 questions with no answers
-1
votes
0
answers
21
views
Dockable panel height issue revit api
I have an issue with setting the height of a Dockable Panel in Revit. I created a panel that should appear at the bottom of Revit with a fixed height (for example, 50 px). However, every time I start ...
1
vote
0
answers
55
views
PreEmptive Protection Dotfuscator Can not build when not setting true for autoGenerateIfMissing
I got a problem when trying to integrate Dotfuscator into MSBuild.
<!--Dot obfuscator-->
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- import user ...
0
votes
0
answers
31
views
How to run DynamoModel and Autodesk.DesignScript in C# addin
is there a way to use StartupUtils.MakeModel in revit API ? i'm making an Revit addin in C# based on a Python script that uses DesignScript.Geometry , this script works well but i'm trying a lot of ...
0
votes
0
answers
40
views
Can't set value for a sheet's shared parameter via Revit 2024 API
I've created a shared parameter via Revit 2024 API and bind the parameter with Sheets, Views and Schedules. And later when I tried to set value for the instances with the shared parameters, the ...
0
votes
0
answers
78
views
Extract Metadata from a RVT file
I need to extract metadata from a rvt file but I don't know how to do that.
I tried to follow Autodesk's guide for how to Extract Metadata from a Source File but I've discovered that I can't convert a ...
0
votes
0
answers
29
views
Can't Convert from MEP Design elements to FabricationPart with DesignToFabricationConverter class
I'm new with Fabrication Parts in Revit API, I want to convert MEP Design elements ( ducts and pipes ) to fabrication Part given a service, but at themoment of execute the transaction , convertResult ...
0
votes
0
answers
73
views
DataManagementAPI - Publish Workshared Cloud Revit Models with a publish setting
I am using PublishWithoutLinks endpoint in a workflow to auto publish workshared cloud revit models. Is there a way to provide Publish Settings in this endpoint? Eg: only a specific view name needs to ...
0
votes
0
answers
36
views
Revit, SectionView (viewing from above) created from FloorPlan is mirrored
I try to create a SectionView out of FloorPlan. The viewing direction is from above, actually the same as in the FloorPlan. The SectionView created is mirrored:
resulting section view
Here is my code:
...
0
votes
0
answers
739
views
NpgSQL DataSourceBuilder compatibility with .NET Framework 4.8 project
I am currently, designing a Revit plugin macro using Revit API, which uses .NET Framework 4.8. Hence my project is in that framework. At the moment I am trying to write certain output parameters, to a ...
0
votes
0
answers
114
views
Autodesk Forge error #9 - No viewable content
I am trying to upload my model using Autodesk Forge. I got all the necessary tokens and URN using Postman. I wrote the code using the instructions, but it gives error #9. I still haven't figured out ...
0
votes
0
answers
42
views
Revit vb.net change IFC Parameter value
I can change a lot of parameters by the .LookupParameter("string").SetValueString("new_string"), but it seems that IFC parameters (or Identify Data) can not be changed? How can ...
0
votes
0
answers
48
views
How To Use Microsoft.Extensions.Hosting Package In Autodesk Revit 2019
I try to use Microsoft.Extensions.Hosting 8.0.0 in Revit , but when i Use This package in revit . revit send error : [![enter image description here][1]][1] , and then i add this dll to revit 2021 , ...
1
vote
0
answers
89
views
How the Revit MEP Connector properties can be exported to IFC entity?
I found that there is a notion of 'connector' in Revit MEP for piping and ducting.
However, I want to know how the connector properties are exported to IFC format.
Are they exported to ifc elements ...
0
votes
0
answers
32
views
external Ids exist in SQLlite file but not in model derivative API
I'm pulling the SQL lite file for models from ACC but am having a few issues.
SELECT
ids.id AS dbId,
ids.external_id AS externalId,
attrs.name ...
1
vote
0
answers
142
views
Unclear exception when reloading families in Design Automation for Revit
I have a Revit add-in for design automation that gets all loadable families in a Revit model and executes the following steps for each family:
Open the family document with Document familyDocument = ...
1
vote
0
answers
55
views
Can I install/use Python Log Indenter with Revit Python Shell?
I would like to install Python Log Indenter (Document Page ) for use with RevitPytonShell (IronPython version). The docs for Python Log Indenter indicate that PIP be used for installation but I am not ...
0
votes
0
answers
39
views
Roof with different pitch and eave height
I'm trying to create the roof footprint with only line where each line is associated with slope and eave height. I tried some of the CAD software but it didn't fulfill all requirements with example at ...
0
votes
0
answers
129
views
Issue with pyRevit forms
I am trying to use pyRevit to automate some tasks in Revit, but when I try to run an example code, it shows an error.
Code:
from pyrevit import forms
ops = ['option1', 'option2', 'option3', 'option4']
...
1
vote
0
answers
330
views
Handling warning in dynamo python
I’m getting this warning window while convert .sat to .rfa. How can I handle this warning automatically using dynamo python.
I have also referred IFailurePreprocessor, but couldn’t use it before the ...
2
votes
0
answers
170
views
Leak memory when open and closing revit documents
I can't remember if this issue was discussed of if there is any issue at all.
I'm developing a plugin for Revit using Revit API and c#. During a work I open and close a lot of documents in background. ...
0
votes
0
answers
208
views
How can I make code wait for ExternalEvent to perform first ,When an ExternalEvent is Raised , and perform all other tasks after that?
/*When the button is clicked in the fucntion below the External event should execute first , but it is not happening instead it complete all other tasks and then run external event handler. */
//...
0
votes
0
answers
50
views
Neo4j assembly error when running through Revit software
I am building an addin for Autodesk's Revit.
I created a class library .NET Framework project called neo4jTest.
I'm trying to use the Neo4j API to communicate with the DB and save data to it.
I try to ...
0
votes
0
answers
121
views
Revit to ifc schedule using autodesk forge
https://github.com/Autodesk-Forge/forge-revit.ifc.scheduler
I want to build same app, I have cloned it on local path.It is not working.Kindly help, or give another solution or give some idea.
I have ...
0
votes
0
answers
945
views
Revit API Curves obtained from the edge
I have 3 rebar in a structural element.
And using the AsCurve method I draw the edge lines but something unexpected happens.
foreach (Edge borde in solido.Edges)
{
Curve curva = borde.AsCurve();
...
0
votes
0
answers
68
views
Intermittent Error while getting WorksetInfo from a BIM 360 Model
I'm using Autodesk.Revit.DB.WorksharingUtils.GetUserWorksetInfo(ModelPath) to get a list of Worksets from a model. This has worked flawlessly on local server and Revit Server projects for several ...