If you select multiple files, RMB and "Send To" your batch file, then you will have these arguments, %1 %2 %3 ... %9
if you selected more than nine arguments, to process all of them, you need to use the command SHIFT
This is an example batch file
@echo off
:Loop
IF A%1A==AA GOTO Continue...
Take a look at the below two GTAC examples.
I'm not sure if this is what you are looking for.
https://solutions.industrysoftware.automation.siemens.com/view.php?si=nx_api5480
https://solutions.industrysoftware.automation.siemens.com/view.php?si=nx_api4010
I think what you are showing is the "Highlight Selection on Rollover"
try unchecking this preference
File >> Preferences >> Selection... (Ctrl + Shift + T)
This may be what you are looking
https://docs.plm.automation.siemens.com/data_services/resources/nx/12/nx_api/custom/en_US/nxopen_net/class_n_x_open_1_1_annotations_1_1_pmi_collection.html
most likelly the views in your drawing are not from your drawing dataset file. Instead are from your model/assembly "master" dataset file.
Adding geometry to your drawing dataset file will not show up in your views.
Select your views and do menu >> information >> object (Ctrl + I)
In the section...
colorFeatureBuilder1.Color = WP.Colors.Find(color_value)
will not work.
Sorry about this.
Here you can find an example how to use an rgbColorPicker block
https://solutions.industrysoftware.automation.siemens.com/view.php?si=nx_api4228
The error is "Incorrect property type used for the property name"
the Second line in the error window shows
NXOpen.BlockStyler.PropertyList.GetIntegerVector(String propertyName)
your code at line 71 is
color_value = propList.GetInteger("Value")
at line 18, color_value is defined as Integer...
Siemens changed the Teamcenter preference "CopyFromOriginal" to "false" OOTB, starting with Teamcenter 10.1.3.
Search GTAC Solution Center for PR7283152 for a document talking about this change.
This may be the reason you are seeing a different behaivoir in Teamcenter 11.
From the lmutil lmstat -a command, you should get an output like this
joe nirvana nirvana (v1.000) (cloud9/7654 102), start Fri 10/29 18:40
from this output:
user = joe
user_host = nirvana
display = nirvana
server_host = cloud9
TCP/IP port = 7654
license handle = 102
the lmremove syntax can...
Not sure about this, but maybe the path with spaces in the action line are not been handled correctly.
Try setting the path with the "old" 8.3 nomenclature, something like this
C:\progra~1\pre-pr~1\APN.exe
To find out this 8.3 nomenclature, open a cmd window and use this command: dir /x
You...