Ehaviv
Computer
- Jul 2, 2003
- 1,012
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: [b]'SetUserAttribute' is not a member of 'NXOpen.Part'[/b].
Please need helpe in this
Thank you in advanced