I figured out how ICE PPG Logic can be actually useful. SI 2012.5 or above is required
Select Polygons Interactive
Plugins linking to this thread: (hide)
Select Polygons Interactive
An interesting application of ICE PPG logic event handling code, originally meant
to operate »inside« the PPG, to control the polygon selection on an object
(selects polygons greater than/smaller than a specified area).
Also included in Constantine's Procedural Topo Pack. Youtube demo.
local backup: Select Polygons Interactive.rar
Also included in Constantine's Procedural Topo Pack. Youtube demo.
local backup: Select Polygons Interactive.rar
author site: http://procedural.tumblr.com / si-community thread
Select Polygons Interactive
- Attachments
-
- Select Polygons Interactive.rar
- (1.73 KiB) Downloaded 284 times
Re: Select Polygons Interactive
So Great...
But it doesn't work with softimage 2012.sap
Because the node "Build array from set" is different version
But it doesn't work with softimage 2012.sap
Because the node "Build array from set" is different version
Re: Select Polygons Interactive
Thanks for info, mjd3d! I didn't know about that... So here is icetree then, I hope the build array from set node can be replaced with an old onemjd3d wrote:So Great...
But it doesn't work with softimage 2012.sap
Because the node "Build array from set" is different version
Re: Select Polygons Interactive
Interesting application.
Points out nicely that ICE ppg logic can operate outside the ppg also.
Points out nicely that ICE ppg logic can operate outside the ppg also.
softimage resources section updated Jan 5th 2024
Re: Select Polygons Interactive
another interesting tool!
i haven't explored the ppg logic too much, thanks for continuing to push it
i haven't explored the ppg logic too much, thanks for continuing to push it
-
- Posts: 9
- Joined: 27 Apr 2010, 16:10
Re: Select Polygons Interactive
Hi Constantine,
Very nice work!
I found that I could grab the parent object using PPG.Inspected(0).
e.g.
Julian
Very nice work!
I found that I could grab the parent object using PPG.Inspected(0).
e.g.
Code: Select all
def size_OnChanged():
oParent = Application.GetValue(PPG.Inspected(0)).Parent3DObject
attr = oParent.ActivePrimitive.Geometry.GetICEAttributeFromName("foo").DataArray2D[0][0]
oSubC = oParent.ActivePrimitive.Geometry.CreateSubComponent('poly', attr)
Application.SelectGeometryComponents(oSubC)
Re: Select Polygons Interactive
Thanks for pointing this out, Julian!julian johnson wrote:Hi Constantine,
Very nice work!
I found that I could grab the parent object using PPG.Inspected(0).
e.g.
JulianCode: Select all
def size_OnChanged(): oParent = Application.GetValue(PPG.Inspected(0)).Parent3DObject attr = oParent.ActivePrimitive.Geometry.GetICEAttributeFromName("foo").DataArray2D[0][0] oSubC = oParent.ActivePrimitive.Geometry.CreateSubComponent('poly', attr) Application.SelectGeometryComponents(oSubC)
So now it works without selection. And if nothing is matched with a condition none of the polygons will be selected.
- Attachments
-
- Select Polygons Interactive.1.1.rar
- (1.68 KiB) Downloaded 233 times
Who is online
Users browsing this forum: No registered users and 27 guests