Submitted by limsc5250 on Tue, 08/09/2016 - 23:30
Forums:
Hi, how to retrieve the current work layer using vb .net?
Thanks
LIM
NX 10.0.3.5 MP1
WINDOWS 7
Hi, how to retrieve the current work layer using vb .net?
Thanks
LIM
NX 10.0.3.5 MP1
WINDOWS 7
re: worklayer
You can get the work layer with something like the following:
dim curWorkLayer as Integer
curWorkLayer = theSession.Parts.Work.Layers.WorkLayer
after executing the code above, the variable, curWorkLayer, would hold an integer value representing the current work layer number.
Thanks, got it!
Thanks, got it!