help of journal compiling to dll error
help of journal compiling to dll error
(OP)
Hi
The journal run OK but give error in compiling to dll
Using nx8.5 and compiling with nx8.5 dll lib files
The imports lines
and the codes lines that cause the error are:
Please need helpe in this
Thank you in advanced
The journal run OK but give error in compiling to dll
Using nx8.5 and compiling with nx8.5 dll lib files
The imports lines
and the codes lines that cause the error are:
CODE -->
Option Strict Off
Imports System
Imports System.IO
Imports NXOpen
Imports NXOpen.UF
Imports System.Text.RegularExpressions
-----------------------------------------------------
p = s.Parts.Display
p.SetUserAttribute("NativePartName", -1, p.Leaf & sfx_eh, Update.Option.Now)
-----------------------------------------------------
ufs.Assem.SetWorkPartQuietly(sparts(i).Tag, last_wp)
sparts(i).SetUserAttribute("NativePartName", -1, sparts(i).Leaf & sfx_eh, Update.Option.Now)
-----------------------------------------------------
The error is:
: error BC30456: 'SetUserAttribute' is not a member of 'NXOpen.Part'. Please need helpe in this
Thank you in advanced





RE: help of journal compiling to dll error
RE: help of journal compiling to dll error
RE: help of journal compiling to dll error
Another tip: finding bugs is easier if you declare your variables. The declarations will require less typing if you use "Option Infer On".
RE: help of journal compiling to dll error
And I hop that I'll don't make it any more.
I compiled with the wrong ugdll lib
In nx8.5 session I used nx6 lib
I'm thank you a lot
For the help you intended
to give me.