Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Community,
In many Inventor 2022 rules, I used this code posted by Clint Brown:
' Get Computer Name
Dim oPCName As String = System.Net.Dns.GetHostName()
https://clintbrown.co.uk/2021/01/06/ilogic-quick-tip-get-ip-address/
Now when I run any of these rules in Inventor 2025, the following error occurs:
Error on Line 7 : 'Dns' is not a member of 'System.Net'.
I have searched the forums and other resources, but have not found a solution. Your assistance please.
Regards,
Jerry
-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Solved! Go to Solution.