|
NX Programmierung : Block Styler Dialog (Wo ist der Wert?)
TH-Sulzer am 07.10.2016 um 11:46 Uhr (1)
Ich habs, Danke public int update_cb( NXOpen.BlockStyler.UIBlock block) { try { if(block == Block1) { string Stufenzahl = Block1.GetProperties().GetEnumAsString("Value"); //.GetEnum("Value").ToString(); //Stufenzahl = (Int32.Parse(Stufenzahl) + 1).ToString(); Part workPart = theSession.Parts.Work; Part displayPart = theSession.Parts.Display; // Edit 051016 Expression expression1 = (Expression)workPart.Expressions.FindObject("Anzahl"); Unit u ...
| In das Form NX Programmierung wechseln |
|
NX Programmierung : Journal: Select Part with Name (String)
TH-Sulzer am 06.04.2017 um 10:55 Uhr (1)
Hello, I try to replace part. I recorded journal and modified so far what I do not need. At the moment I need to select the part which will be replaced then. This is working good. What I want to do is to define the part which gets replaced by name. I guess the following lineis important and needs to be modified. Code:// ---------------------------------------------- // Dialog Begin Replace Component // ---------------------------------------------- UI theUI = UI.GetUI(); // Working Code Start //boo ...
| In das Form NX Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
|