Siemens NX | Change colour via expression

  Рет қаралды 1,245

learnNX

learnNX

Күн бұрын

T&T-3 | Siemens NX Tutorial Tips and Tricks |Products with identification colours have the same geometry, but different colours. There are many possible solutions for this, but the best would be to be able to change the colour via an expression.
Here is the code:
setColor=ug_setObjectColor(First(ug_cycleObjectsByType({ug_body}, "")), colorID)
▬about this channel▬▬▬▬▬▬▬
With LearnNX you will learn Siemens NX step-by-step from the beginning. The basic course consists of learning videos that build on each other. (marked blue)
You start here: • Siemens NX Tutorial | ...
In between you can check your knowledge with tests. (marked green)
Expert exercises impart special knowledge. (marked red)
All learning videos are available for free. We look forward to your comments on KZbin. (and about your subscription ;-)
/ @learnnx
▬about our free learning platform▬▬
😃 All tutorials, clearly arranged, can be found here: learnnx.com
Learning videos with a short description, together with the exercise materials as download.
You can also search 🔎 for commands or topics.
And all according to the motto: step by step / for free / for all 🎈
▬Links▬▬▬▬▬▬▬▬▬▬▬▬▬
learnnx.com/do...
▬chapter▬▬▬▬▬▬▬▬▬▬▬▬
to short for chapter
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#learnNX #SiemensNXfreeCourse

Пікірлер: 15
@cadcaetutorial2039
@cadcaetutorial2039 3 ай бұрын
Very amazing this lecture sir
@cadcaetutorial2039
@cadcaetutorial2039 3 ай бұрын
So weldon sir
@LofEtmaz
@LofEtmaz 2 ай бұрын
Very useful thanks
@PuratchiEppothumVellum
@PuratchiEppothumVellum 3 ай бұрын
Great trick 👌
@jaypanchal1997
@jaypanchal1997 2 ай бұрын
Please start surfacing training series in NX.
@learnNX
@learnNX 2 ай бұрын
Thank you for your suggestion about freeform.
@nikossiopis8181
@nikossiopis8181 3 ай бұрын
Great video well done! Is there any similar way to change the material through expression?
@learnNX
@learnNX 3 ай бұрын
There is always a way. But why do you want to choose expressions instead of attributes?
@tnvm.9026
@tnvm.9026 2 ай бұрын
What is this code from "setColor=ug_setObjectColor(First(ug_cycleObjectsByType({ug_body}, "")), colorID)". It syntax like journal? I find it very interesting to code in an expression. By the way thank to very cool tips I never know that NX can do this in expression.
@AmanKumar-cb3zc
@AmanKumar-cb3zc 3 ай бұрын
Please make video on nx prepost application, thermal, structural etc simulations.
@learnNX
@learnNX 2 ай бұрын
Thank you for your suggestion
@lb3d650
@lb3d650 2 ай бұрын
Is it possible to rewrite the expression to paint multiple objetcs-bodies-components in an assembly? I tried it in parts and it works great. We use many assemblies for welding and they usually go to a paint proccess, with these expression modified to work with assemblies I can have conditionals on the attribute that indicates the color and run it automatically
@learnNX
@learnNX 2 ай бұрын
It's possible, but you (or I) have to write a small program.
@lb3d650
@lb3d650 2 ай бұрын
​@@learnNX​ If I would know how to, I will be doing it no dubts, but my programming skills are not that good. Let me know if I can get in touch with you for doing it.
@learnNX
@learnNX 2 ай бұрын
@@lb3d650 Send me an email to info@learnNX.com and explain your wishes in detail. I will then send you a quote.
Siemens NX | Component Anchors
4:35
learnNX
Рет қаралды 909
Siemens NX Tutorial | Break out section view
13:48
learnNX
Рет қаралды 4,4 М.
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 13 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 6 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 64 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 47 МЛН
Siemens NX Tutorial | Ordinate Dimension and Hole Table
13:38
Siemens NX Tutorial | View break, Lock view
12:49
learnNX
Рет қаралды 2,1 М.
NX CAD - Measure Tool
11:16
SmartPLM
Рет қаралды 671
Siemens NX Tutorial | Interpart Expressions
23:39
learnNX
Рет қаралды 3,3 М.
Are booleans a better approach?
13:39
Christopher 3D
Рет қаралды 4,1 М.
NX | Tips and Tricks | Summer 2023 | NX Sketch
2:50
Siemens Software
Рет қаралды 7 М.
Siemens NX Tutorial | Part Attributes
15:42
learnNX
Рет қаралды 3,3 М.
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 13 МЛН