Skip to main content
1 vote
1 answer
75 views

Spotfire toggle shuffles back to left while navigating to different page

I'm encountering an issue with a toggle switch embedded inside a text area that allows users to switch between viewing the top 15 and bottom 15 sales on a bar chart. The logic for toggling between ...
Gaurav Upadhyay's user avatar
0 votes
1 answer
63 views

Is there a way to get Revit Python Shell not to buffer the print statement?

Is there a way to get Revit Python Shell not to buffer the print statement? For example, with this code, it is clear to see that RPS will not show anything on the screen until after the loop has ...
Michelle's user avatar
0 votes
0 answers
70 views

How do I include the os module with IronPython 3.4 in my C# project, and also run a script?

I am attempting to use IronPython 3.4 with my C# / .NET MAUI project. As IronPython 3.4 is pretty new, I am not sure if there is much support for it yet. As a part of experimentation, I am attempting ...
Ben Underwood's user avatar
0 votes
0 answers
29 views

Binding TextBox to the last Item in a ListBox and Initialize TextBox value to 0

In my WPF form below, I bound the TextBox x_position to listX's SelectedItem. However, I'm struggling to initialize x_position to 0 before clicking the ajouter_X_Click event. When the event is clicked,...
Redouane TEBBOUNE's user avatar
0 votes
0 answers
44 views

Loading wpf User Control issue

Using pyrevit and IronPython, I've created a user control called IntegerUpDown.py, which I want to use in my main script Grids_script.py. However, I'm encountering the folowing error that I don't know ...
Redouane TEBBOUNE's user avatar
0 votes
0 answers
33 views

Issue for loading XAML layout inline as a string

I’m using pyrevit, and my WPF form is not being displayed (no error appears on the screen). The XAML layout is defined inline as a string. Interestingly, in another form where the XAML layout is also ...
Redouane TEBBOUNE's user avatar
0 votes
0 answers
69 views

Possible to copy sheet in Excel with Python API Excel.Application?

I have a small Python script that writes data to an existing Excel file. The script is run from Ansys Workbench and in the Ansys installation python version is IronPython 2.7.4 for which Pandas (and ...
erik's user avatar
  • 1
1 vote
2 answers
55 views

How can i understand what is running IronPython or Python?

With what command inside code can I understand that IronPython or Python is running?
Dmitry Dronov's user avatar
-1 votes
1 answer
75 views

When i run inversetest.py in wpf app, I get error on predict model

When I run python code in c#, I get error on line of predict model but it run in python well. I used any way such as python.net, ironPython, Process,... but it did not work: private void ...
soheila's user avatar
  • 13
0 votes
0 answers
27 views

What files does IronPython require in the C:\Python27 folder?

We use IronPython 2.7 in a desktop app, which is used to programmatically run simple Python scripts which might import standard modules like 'sys', 'time', and so on. It retrieves these from the C:\...
Andrew Stephens's user avatar
1 vote
1 answer
39 views

Given a font and a specific character, is there a way to tell which subrange the character belongs to?

I need to determine if a given character in a given font belongs to a given subrange. For example, U+0041 according to Windows Character Map app belongs to the Latin Subrange. Is there a way to get ...
Michelle's user avatar
0 votes
1 answer
115 views

Embedded IronPython debugging with breakpoints

Our codebase is written mostly in C# with some scripting capabilities using IronPython 3.4. Until recently we based the project on the outdated .Net Framework 4.8 but made the move to .Net 8 recently. ...
Matthias Vietz's user avatar
0 votes
0 answers
90 views

Using ironpython from C# async-await causes the app to hang

From C# we have to call python function, in this case the nltk lib lemmatize function (which still has no good C# implementation). We call it like this: private string Lemmatize(string word) { using (...
Zoltan Hernyak's user avatar
0 votes
1 answer
167 views

How do I add IronPython Interpreter in PyCharm?

I'm working with some API's that require IronPython and I use JetBrains' Pycharm to code. The only problem is that, after formatting my PC, I can't add the IronPython 3.4 interpreter to it. I tried ...
rgheno's user avatar
  • 1
0 votes
1 answer
77 views

How to use iopen pyxl in C#?

Im creating a Windows Forms Project based on C# using python scripts. But when click the button, which should start a python script i have an error "No module named 'openpyxl'" private void ...
Argentrix's user avatar

15 30 50 per page
1
2 3 4 5
175