Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EF-Tools- Rooms- Rooms to Ceiling bug #23

Open
Robbo1234 opened this issue Aug 13, 2024 · 4 comments
Open

EF-Tools- Rooms- Rooms to Ceiling bug #23

Robbo1234 opened this issue Aug 13, 2024 · 4 comments

Comments

@Robbo1234
Copy link

Hi there

EF-Tools- Rooms- Rooms to Ceiling is missing in Revit 2021.19 and it currently doesn't work in Revit 2022.1.6

Also, it seems to pick up everything when I select a room/s but it works fine with EF-Tools- Rooms- Rooms to Floor.

Rob

image

@ErikFrits
Copy link
Owner

Thanks for heads up.
I will check what's happening, I think I've tested it on Revit 2023.

It's not showing up in 2021, because there was no access to create Ceilings in Revit 2021.

@Robbo1234
Copy link
Author

Hi Erik, I tested RoomstoCeilings in Revit 2023.1.4 and I'm getting this error:

IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\rob.cross\AppData\Roaming\pyRevit\Extensions\EF-Tools.extension\EF_Tools.tab\Elements.panel\col2.stack\Rooms.pulldown\RoomsToCeilings.pushbutton\script.py", line 109, in
File "C:\Users\rob.cross\AppData\Roaming\pyRevit\Extensions\EF-Tools.extension\lib\Snippets_selection.py", line 63, in get_selected_rooms
SystemError: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Script Executor Traceback:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at UIDocument.getADocument(UIDocument* )
at Autodesk.Revit.UI.UIDocument.get_Document()
at Microsoft.Scripting.Interpreter.FuncCallInstruction2.Invoke(Object arg0) at IronPython.Runtime.Binding.PythonGetMemberBinder.FastPropertyGet1.GetProperty(CallSite site, TSelfType target, CodeContext context)
at IronPython.Compiler.Ast.DynamicGetMemberExpression.GetMemberInstruction.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)

@Robbo1234
Copy link
Author

Fyi, it's working now in both Revit 2022 and 2023 after doing a PyRevit Reload. Thanks

image

@Robbo1234
Copy link
Author

A suggestion: Can the 'Offset from level (cm)' be controlled by the Project Units?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants