- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody
I'm trying to export critical temperatures after a fire analysis for each beam of my project.
I have read old discussions on this subject and try different available codes. But i still have a problem with first lines of the code:
Public Sub GetCriticalTemp()
Dim Robapp As RobotApplication
Set Robapp = New RobotApplication
Dim RDMServer As IRDimServer
Set RDMServer = Robapp.Kernel.GetExtension("RDimServer")
...I have an error on the last line: "type mismatch"
It is a cut/copy of the code find here (i just add "Set", otherwise i got the error "object variable or block variable 'with' not defined")
I try with:
Set RDMServer = Robapp.Kernel.GetExtension("RDimServer")error: type mismatch
and with
Set RDMServer = Robapp.Kernel.GetExtension("RDMServer")error: method 'getextension' of the object 'IRobotKernel' failed
I add "Robot Object Model ver 21.0" and "Robot Object Model ver 21.0".
I don't understand where is my mistake.
Could someone help me please to start my code ?
Thanks
Solved! Go to Solution.