# \#cpython3

**URL:** https://forum.dynamobim.com/tag/cpython3/202.md

[Latest](https://forum.dynamobim.com/latest.md) · [Categories](https://forum.dynamobim.com/categories.md) · [Tags](https://forum.dynamobim.com/tags.md)

---

## [Replace "Object.UpdateProperty" by a quicker approach](https://forum.dynamobim.com/t/replace-object-updateproperty-by-a-quicker-approach/115052)

<div class="topic-metadata">

**Author:** [@Aymen.Rzigui](https://forum.dynamobim.com/u/Aymen.Rzigui)\
**Replies:** 4\
**Last updated:** [August 10, 2026, 3:43pm UTC](https://forum.dynamobim.com/t/replace-object-updateproperty-by-a-quicker-approach/115052 "2026-08-10T15:43:40Z")

</div>

Hi all, I am using the node “Object.UpdateProperty” to update PSets of many polylines. Nothing is wrong with the functionality of the node, however, it takes a ridiculous amount of time to go through all polylines and u…

---

## [Exporting elements IDs with ExportToPCF in python](https://forum.dynamobim.com/t/exporting-elements-ids-with-exporttopcf-in-python/114920)

<div class="topic-metadata">

**Author:** [@SaidT](https://forum.dynamobim.com/u/SaidT)\
**Replies:** 1\
**Last updated:** [July 11, 2026, 6:06am UTC](https://forum.dynamobim.com/t/exporting-elements-ids-with-exporttopcf-in-python/114920 "2026-07-11T06:06:40Z")

</div>

Hello everyone, long time browser first time poster here. I need help figuring out this script in CPython3. The project is in Revit2024 and I’m using Dynamo v.2.19.3. I’m not a coder, and I’m not familiar with CPython s…

---

## [Getting complete sheet field expression from Sheetsetmanager](https://forum.dynamobim.com/t/getting-complete-sheet-field-expression-from-sheetsetmanager/110585)

<div class="topic-metadata">

**Author:** [@DawidM](https://forum.dynamobim.com/u/DawidM)\
**Replies:** 5\
**Last updated:** [May 13, 2026, 7:29am UTC](https://forum.dynamobim.com/t/getting-complete-sheet-field-expression-from-sheetsetmanager/110585 "2026-05-13T07:29:54Z")

</div>

I am setting up a Dynamo script for working with Sheetsetmanager in Civil 3D, I need to extract the complete field expression for all my sheets within sheetsetmanager. I have set up the following nodes which select the .…

---

## [Generic Annotations Create Label and Link to Family Parameter](https://forum.dynamobim.com/t/generic-annotations-create-label-and-link-to-family-parameter/113678)

<div class="topic-metadata">

**Author:** [@GallowayUS.com\_RonAl](https://forum.dynamobim.com/u/GallowayUS.com_RonAl)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 10:31pm UTC](https://forum.dynamobim.com/t/generic-annotations-create-label-and-link-to-family-parameter/113678 "2026-01-15T22:31:53Z")

</div>

Huge gap in Autodesk Revit Family API I cannot seem to get past… I cannot create or tweak labels in Revit Families. The closest I have gotten is copying a Label parameter started from a seed file. @jacob.small and @jer…

---

## [🧐 Why Doesn't My Dictionary in Dynamo Keep Key Order, and How Can I Fix It for the Dynamo Player?](https://forum.dynamobim.com/t/why-doesnt-my-dictionary-in-dynamo-keep-key-order-and-how-can-i-fix-it-for-the-dynamo-player/113004)

<div class="topic-metadata">

**Author:** [@jbrianmdz](https://forum.dynamobim.com/u/jbrianmdz)\
**Replies:** 1\
**Last updated:** [November 9, 2025, 1:28am UTC](https://forum.dynamobim.com/t/why-doesnt-my-dictionary-in-dynamo-keep-key-order-and-how-can-i-fix-it-for-the-dynamo-player/113004 "2025-11-09T01:28:02Z")

</div>

I’m using the Dictionary.ByKeysValues node in Dynamo to combine a list of string keys and a list of values. My intention is to display the result in an ordered manner in the Dynamo Player (by marking the Watch node as an…

---

## [Python adds MText - raises error](https://forum.dynamobim.com/t/python-adds-mtext-raises-error/112619)

<div class="topic-metadata">

**Author:** [@ondrej.janota](https://forum.dynamobim.com/u/ondrej.janota)\
**Replies:** 5\
**Last updated:** [November 3, 2025, 7:47am UTC](https://forum.dynamobim.com/t/python-adds-mtext-raises-error/112619 "2025-11-03T07:47:41Z")

</div>

Hello dear Dynamo users, I am trying to generate some MTexts into .dwg file using Python in Dynamo. It shouldn’t be hard to do so, but all I get is errors. If I do the same with the Lines it works. I work with dynamo fo…

---

## [Apply Hatch Pattern To Fabrication Parts](https://forum.dynamobim.com/t/apply-hatch-pattern-to-fabrication-parts/112667)

<div class="topic-metadata">

**Author:** [@joby7MFSX](https://forum.dynamobim.com/u/joby7MFSX)\
**Replies:** 4\
**Last updated:** [October 13, 2025, 10:59pm UTC](https://forum.dynamobim.com/t/apply-hatch-pattern-to-fabrication-parts/112667 "2025-10-13T22:59:07Z")

</div>

Hi There, I am trying to develop a way to use Dynamo to “trace” Fabrication Parts and apply a hatch pattern to to the view depending on the insulation type, thickness, etc. I have filtered parts by the lining thickness …

---

## [ChangeTypeId Having issue with CPython3 Engine...?](https://forum.dynamobim.com/t/changetypeid-having-issue-with-cpython3-engine/102309)

<div class="topic-metadata">

**Author:** [@bharat.minocha](https://forum.dynamobim.com/u/bharat.minocha)\
**Replies:** 12\
**Last updated:** [September 23, 2025, 3:11pm UTC](https://forum.dynamobim.com/t/changetypeid-having-issue-with-cpython3-engine/102309 "2025-09-23T15:11:49Z")

</div>

Did anyone else also encountered this issue while Changing TypeId using method ChangeTypeId being retured with a warning as shown below: And at the same time if i change the engine it’ll execute perfectly, Weird?? …

---

## [Dynamo 3.3.xx and LinkDWG custom node](https://forum.dynamobim.com/t/dynamo-3-3-xx-and-linkdwg-custom-node/111136)

<div class="topic-metadata">

**Author:** [@JoseLP](https://forum.dynamobim.com/u/JoseLP)\
**Replies:** 2\
**Last updated:** [July 8, 2025, 10:34am UTC](https://forum.dynamobim.com/t/dynamo-3-3-xx-and-linkdwg-custom-node/111136 "2025-07-08T10:34:24Z")

</div>

Hello everyone, While working with IronPython, I’ve used several times an script I made using GeniusLoci custom node “Link DWG”. Now I need to use it on Revit2025, so CPython3 is in the way, and making this node not to …

---

## [Instantiate FamilyOption in Python](https://forum.dynamobim.com/t/instantiate-familyoption-in-python/109100)

<div class="topic-metadata">

**Author:** [@george](https://forum.dynamobim.com/u/george)\
**Replies:** 25\
**Last updated:** [March 30, 2025, 6:25pm UTC](https://forum.dynamobim.com/t/instantiate-familyoption-in-python/109100 "2025-03-30T18:25:52Z")

</div>

Dear Revit API Experts, I have been using successfully the following IronPython2 code to instantiate FamilyLoaderOptionsHandler class on Revit 2019 and 2022: class FamilyLoaderOptionsHandler(DB.IFamilyLoadOptions): d…

---

## [Python3 - no method matches given arguments](https://forum.dynamobim.com/t/python3-no-method-matches-given-arguments/109031)

<div class="topic-metadata">

**Author:** [@george](https://forum.dynamobim.com/u/george)\
**Replies:** 12\
**Last updated:** [March 27, 2025, 6:51am UTC](https://forum.dynamobim.com/t/python3-no-method-matches-given-arguments/109031 "2025-03-27T06:51:26Z")

</div>

Dear Revit experts, Is it possible to call Panel.GetRefGridLines method in Dynamo on Python3? u\_v\_gridLineId = curtainPanel.GetRefGridLines() This method worked without issues on Ironpython2, but now on Python3, it ra…

---

## [How to install Python modules in Dynamo Core Runtime 2.8.0?](https://forum.dynamobim.com/t/how-to-install-python-modules-in-dynamo-core-runtime-2-8-0/52922)

<div class="topic-metadata">

**Author:** [@Khasan\_Mamaev](https://forum.dynamobim.com/u/Khasan_Mamaev)\
**Replies:** 89\
**Last updated:** [February 5, 2025, 5:08pm UTC](https://forum.dynamobim.com/t/how-to-install-python-modules-in-dynamo-core-runtime-2-8-0/52922 "2025-02-05T17:08:38Z")

</div>

How to install Python modules in Dynamo Core Runtime 2.8.0 ?

---

## [PythonNet and .NET Class Interfaces](https://forum.dynamobim.com/t/pythonnet-and-net-class-interfaces/105404)

<div class="topic-metadata">

**Author:** [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 9:55pm UTC](https://forum.dynamobim.com/t/pythonnet-and-net-class-interfaces/105404 "2025-01-29T21:55:31Z")

</div>

Hello, for those who work with CPython3 / PythonNet here is a workaround for using .Net class interfaces UPDATE PythonNet3 engine 1.1.0 see this post Syntax for general cases the solution is to create a Class Type (…

---

## [Close Excel once the run is finished, CPython3](https://forum.dynamobim.com/t/close-excel-once-the-run-is-finished-cpython3/80854)

<div class="topic-metadata">

**Author:** [@stefanyC6JZ7](https://forum.dynamobim.com/u/stefanyC6JZ7)\
**Replies:** 12\
**Last updated:** [January 8, 2025, 7:51am UTC](https://forum.dynamobim.com/t/close-excel-once-the-run-is-finished-cpython3/80854 "2025-01-08T07:51:27Z")

</div>

Hi all, Currently we are migrating our scripts from IronPython2 to CPython3. I want to run the scripts, and once the run is completed I want the excel files close automatically. Please see the figure below. When I …

---

## [CPython3 error when calling Dynamo Node](https://forum.dynamobim.com/t/cpython3-error-when-calling-dynamo-node/104119)

<div class="topic-metadata">

**Author:** [@T\_V\_werk](https://forum.dynamobim.com/u/T_V_werk)\
**Replies:** 17\
**Last updated:** [December 23, 2024, 11:44pm UTC](https://forum.dynamobim.com/t/cpython3-error-when-calling-dynamo-node/104119 "2024-12-23T23:44:58Z")

</div>

When reusing an IronPython2 script as a CPython3 script, there seem to be an error while calling on Dynamo Nodes inside the script. It works fine in IronPython2. But does not work anymore in CPython. Any suggestions to …

---

## [Syntax Errors when using f-string in Cpython Dynamo Revit 2024](https://forum.dynamobim.com/t/syntax-errors-when-using-f-string-in-cpython-dynamo-revit-2024/105949)

<div class="topic-metadata">

**Author:** [@NIRMAL](https://forum.dynamobim.com/u/NIRMAL)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 8:55am UTC](https://forum.dynamobim.com/t/syntax-errors-when-using-f-string-in-cpython-dynamo-revit-2024/105949 "2024-11-19T08:55:36Z")

</div>

Hi everyone, I ran into an issue where f-strings were not working as expected in Dynamo’s CPython environment. After some investigation, I realized that the ability to use backslashes within expressions in f-strings (in…

---

## [Pyrevit vs CPython3](https://forum.dynamobim.com/t/pyrevit-vs-cpython3/97323)

<div class="topic-metadata">

**Author:** [@Lucy\_Lastparametrics](https://forum.dynamobim.com/u/Lucy_Lastparametrics)\
**Replies:** 5\
**Last updated:** [August 1, 2024, 3:30am UTC](https://forum.dynamobim.com/t/pyrevit-vs-cpython3/97323 "2024-08-01T03:30:57Z")

</div>

Hello all In Revit I use pyrevit, in which I create my own tab. Since I have pyrevit installed, unfortunately no node in CPython3 works. If I uninstall pyrevit everything works as it should. All nodes in CPython3 report…

---

## [None type error occurred](https://forum.dynamobim.com/t/none-type-error-occurred/103158)

<div class="topic-metadata">

**Author:** [@pjw4556](https://forum.dynamobim.com/u/pjw4556)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 10:37am UTC](https://forum.dynamobim.com/t/none-type-error-occurred/103158 "2024-07-31T10:37:38Z")

</div>

I keep getting an error when I try to load a pkl file via joblib. What is the problem ? # Python 표준 및 DesignScript 라이브러리 로드 import sys import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geomet…

---

## [Application does not support just-in-time (JIT) error](https://forum.dynamobim.com/t/application-does-not-support-just-in-time-jit-error/82260)

<div class="topic-metadata">

**Author:** [@lumoric](https://forum.dynamobim.com/u/lumoric)\
**Replies:** 15\
**Last updated:** [June 23, 2024, 10:33am UTC](https://forum.dynamobim.com/t/application-does-not-support-just-in-time-jit-error/82260 "2024-06-23T10:33:45Z")

</div>

After running any Python script (except the default one) I get the following error: Application does not support just-in-time (JIT) debugging. See the end of this message for details. \*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*…

---

## [Plans2DWG (Iron \> CPython3)](https://forum.dynamobim.com/t/plans2dwg-iron-cpython3/101566)

<div class="topic-metadata">

**Author:** [@snowyweston](https://forum.dynamobim.com/u/snowyweston)\
**Replies:** 7\
**Last updated:** [June 3, 2024, 4:22pm UTC](https://forum.dynamobim.com/t/plans2dwg-iron-cpython3/101566 "2024-06-03T16:22:56Z")

</div>

the year is 2024 and some folk are still still asking for .dwg files! …and I am picking up a very old script (that we had, working, in Revit 2019) that used the bulk of @Konrad\_K\_Sobon’s (IronPython) code from this thr…

---

## [ToString() for CPython 3/PythonNet2](https://forum.dynamobim.com/t/tostring-for-cpython-3-pythonnet2/100259)

<div class="topic-metadata">

**Author:** [@Alien](https://forum.dynamobim.com/u/Alien)\
**Replies:** 11\
**Last updated:** [April 20, 2024, 7:12am UTC](https://forum.dynamobim.com/t/tostring-for-cpython-3-pythonnet2/100259 "2024-04-20T07:12:17Z")

</div>

This works fine in IronPython but the ToString() breaks in Py3. How do I write it?

---

## [IFamilyLoadOptions / CPython3 Issue](https://forum.dynamobim.com/t/ifamilyloadoptions-cpython3-issue/98245)

<div class="topic-metadata">

**Author:** [@criddell](https://forum.dynamobim.com/u/criddell)\
**Replies:** 5\
**Last updated:** [February 25, 2024, 7:39pm UTC](https://forum.dynamobim.com/t/ifamilyloadoptions-cpython3-issue/98245 "2024-02-25T19:39:42Z")

</div>

I’m currently working on a python script within Dynamo that will batch load families . It works as is in IronPython ; however, when I switch to CPython I get a TypeError : interface takes exactly one argument line 58 (th…

---

## [Add clr reference for Camber & ArkanceSystems nodes in python node for C3D](https://forum.dynamobim.com/t/add-clr-reference-for-camber-arkancesystems-nodes-in-python-node-for-c3d/97997)

<div class="topic-metadata">

**Author:** [@neo](https://forum.dynamobim.com/u/neo)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 6:53am UTC](https://forum.dynamobim.com/t/add-clr-reference-for-camber-arkancesystems-nodes-in-python-node-for-c3d/97997 "2024-02-12T06:53:51Z")

</div>

Hello , i tried to add Camber & ArkanceSystems clr references to the dynamo python node the same way as Civil3dtoolkit & ProtoGeometry , but they are not working probably i need to do some extra imports any ideas how to…

---

## [Revit 2023 / Python3 - Dynamo 'add revisions to sheets' python code errors](https://forum.dynamobim.com/t/revit-2023-python3-dynamo-add-revisions-to-sheets-python-code-errors/79072)

<div class="topic-metadata">

**Author:** [@abrown](https://forum.dynamobim.com/u/abrown)\
**Replies:** 15\
**Last updated:** [February 8, 2024, 10:20am UTC](https://forum.dynamobim.com/t/revit-2023-python3-dynamo-add-revisions-to-sheets-python-code-errors/79072 "2024-02-08T10:20:07Z")

</div>

Hello, I have been using a Dynamo script that adds a selected revision to all sheets in a project. It’s powered by a python code that I pinched from Archi-lab years ago. This was working up until Revit 2023 when I was f…

---

## [Issue with CPython](https://forum.dynamobim.com/t/issue-with-cpython/97186)

<div class="topic-metadata">

**Author:** [@tidiane.dia\_MaM](https://forum.dynamobim.com/u/tidiane.dia_MaM)\
**Replies:** 14\
**Last updated:** [February 5, 2024, 7:21pm UTC](https://forum.dynamobim.com/t/issue-with-cpython/97186 "2024-02-05T19:21:57Z")

</div>

Hello, I made a script with Python to create a point in DYNAMO. It worked fine with CPython on Revit 2022, but I get an error message when I use Revit 2023.1 or Revit 2024.1. Everything’s is fine if I run it with IronP…

---

## [No Method Matches Given Arguments for AddAppurtenances Function](https://forum.dynamobim.com/t/no-method-matches-given-arguments-for-addappurtenances-function/97430)

<div class="topic-metadata">

**Author:** [@kpricePZXHH](https://forum.dynamobim.com/u/kpricePZXHH)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 6:31am UTC](https://forum.dynamobim.com/t/no-method-matches-given-arguments-for-addappurtenances-function/97430 "2024-01-24T06:31:15Z")

</div>

I am trying to add an appurtenance to at a point and am getting a type error when using the Civil3d API AddAppurtenance method in the PipePressureNetwork class. I am inputting a point3d and pressure part size but it says…

---

## [Creating column on a point using NewFamilyInstance](https://forum.dynamobim.com/t/creating-column-on-a-point-using-newfamilyinstance/82225)

<div class="topic-metadata">

**Author:** [@Aradhya\_Singh](https://forum.dynamobim.com/u/Aradhya_Singh)\
**Replies:** 12\
**Last updated:** [January 16, 2024, 6:35pm UTC](https://forum.dynamobim.com/t/creating-column-on-a-point-using-newfamilyinstance/82225 "2024-01-16T18:35:57Z")

</div>

Hi everyone, I’m trying to create columns on a bunch of points such that the columns are associated with a level which is created in the same graph. I’m doing this in a python node inside Dynamo but am getting the error…

---

## [Error about using RSA API on Dynamo](https://forum.dynamobim.com/t/error-about-using-rsa-api-on-dynamo/96664)

<div class="topic-metadata">

**Author:** [@ugur\_yavan\_61](https://forum.dynamobim.com/u/ugur_yavan_61)\
**Replies:** 7\
**Last updated:** [January 5, 2024, 9:23am UTC](https://forum.dynamobim.com/t/error-about-using-rsa-api-on-dynamo/96664 "2024-01-05T09:23:42Z")

</div>

Hello everyone, I am trying to create simple truss on RSA by using API. I managed to do basically everything except Defining the list of objects to which load will be applied. In this step I am getting error even though …

---

## [How does clr module work in Cypthon engine of Dynamo](https://forum.dynamobim.com/t/how-does-clr-module-work-in-cypthon-engine-of-dynamo/95717)

<div class="topic-metadata">

**Author:** [@NIRMAL](https://forum.dynamobim.com/u/NIRMAL)\
**Replies:** 5\
**Last updated:** [November 22, 2023, 12:28pm UTC](https://forum.dynamobim.com/t/how-does-clr-module-work-in-cypthon-engine-of-dynamo/95717 "2023-11-22T12:28:35Z")

</div>

Hi all, I am curious to know how does clr module is imported in Cypthon engine of Dynamo as in latest versions. I looked for something similiar in the internet and I found out that using these ironpython-stubs we can u…

---

## [CPython issue creating ParameterFilterElement](https://forum.dynamobim.com/t/cpython-issue-creating-parameterfilterelement/93742)

<div class="topic-metadata">

**Author:** [@christopher.riddell](https://forum.dynamobim.com/u/christopher.riddell)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 1:57am UTC](https://forum.dynamobim.com/t/cpython-issue-creating-parameterfilterelement/93742 "2023-09-14T01:57:46Z")

</div>

I’m struggling to figure out what should be done here. I am looking to create a new ParameterFIlterElement using the information in my filterInfo list . I’m using the ParameterFilterElement.Create method and it works in …

[Next page](https://forum.dynamobim.com/tag/cpython3/202.md?match_all_tags=true&page=1&tags%5B%5D=cpython3)
