|
NX Programmierung : Parameter an DLL übergeben
gfx-toxic.de am 19.11.2010 um 10:58 Uhr (0)
Hallo Thomas,ich löse es auch so wie Michael es beschrieben hat.Ein Journal kann dann so aussehn:Code:using System;using System.Reflection;using NXOpen;namespace Example{ public class NiXe { public static void Main(string[] args) { Assembly ass = Assembly.LoadFrom("Pfad zu DLL"); Type ty = ass.GetType("Namespace in der DLL"); Object[] p = { "Parameter" }; ty.GetMethod("Methodenname").Invoke(null, p); } }} Zitat:Original erstellt von mseufert:Hallo Thomas,ein Programm mit Ein ...
|
| In das Form NX Programmierung wechseln |
|
NX Programmierung : Auf Export-Prozess warten
gfx-toxic.de am 11.03.2013 um 17:24 Uhr (1)
Die Klasse System.Diagnostics ist dein Freund.Der Commit Befehl löst ja mehr oder weniger eine Batch Datei im Hintergrund aus.Entweder du Startest die Batch selber und übergibtst die Parameter...oder die hängst dich mit der oben genannten Klasse an den Prozess ran und überprüfst wann er beendet wird...
|
| In das Form NX Programmierung wechseln |
|
NX Programmierung : Genaue NX-Version ermitteln
gfx-toxic.de am 17.10.2010 um 18:41 Uhr (1)
Hallo Stefan,das würde mich auch sehr intressieren...dependency walker? Zitat:Original erstellt von mseufert:Hallo Stefan,verwendest Du ein bestimmtes Tool, um die aufgerufenen Libraries zu ermitteln ? Die "UG_ask_patch_text" findet sich zwar u.a. auch mit einem simplen "strings filename" oder über einem Dependency Browser (aus VC++ Utilities). Weitere Informationen, wie z.B. übergebene Parameter und Rückgabewert sind daraus jedoch nicht ersichtlich.Gruß, Michael------------------Gruß Matthias------------- ...
|
| In das Form NX Programmierung wechseln |
|
NX Programmierung : Auf Export-Prozess warten
gfx-toxic.de am 11.03.2013 um 17:27 Uhr (1)
How do I execute the translators from a command line?The command line interface allows you to translate files without using the interactive menus. You can get to the command line prompt with the following steps: * Ensure that your NX environment variables are properly set up. This includes UGII_BASE_DIR and UGII_ROOT_DIR. * Set your PATH variable should include UGII_ROOT_DIR. * Execute the appropriate script to initiate the translator. Note that if no parameters are passed to the script, the user ...
|
| In das Form NX Programmierung wechseln |
|
NX Programmierung : eventhandler
gfx-toxic.de am 18.10.2011 um 08:28 Uhr (0)
Hallo Robert,für solche Fälle gibt es die USER_EXITS.Diese müssen mit einer Umgebungsvariable auf die dll die ausgeführt wird verdrahtet werden.Mehr dazu steht unter dem Begriff oben in der Doku.Code:Change Displayed Part USER_CDISP The change displayed part user exit occurs before the displayed part is about to be changed explicitly from any user interface entry point, e.g. from the Windows main menu. It is not possible to provide a default name for the operation. The next interactive step is determined b ...
|
| In das Form NX Programmierung wechseln |