Blank entry, that's interesting.trueBlue wrote: ↑18 Jan 2023, 17:36Thanks, got the ConReset to work but it adds a blank? entry in the Command Historyclintonman wrote: ↑18 Jan 2023, 16:12 Here is the rsx plugin with the util.ConReset.
I just saw your last 2 posts just now. I'll try to take a look at your spotlight.
Had to add RsApp.Undo() to the end
How do use the following?Code: Select all
thenode = Node.FirstSelected() util = System.CreateDO("Clintons3D Package/Utility functions") util.ConReset(thenode, "FOV", thenode + "/Camera", "FOV"); RsApp.Undo()
util.GetPluginState()
util.SetVertexColor()
util.GetPluginState() does not work with system loaded dll. it only works with plugin loaded as rsx
add a plane to the scene
point edit the plane so it has an Editable shape
set the material vertex strength to 1
run this to set vertex number 3 to blue
Code: Select all
util = System.CreateDO("Clintons3D Package/Utility functions")
mesh = Node.FirstSelected() + "/Editable shape";
//util.FillVertexColor(mesh,"255,0,0",false);//fill all verts with red color
util.SetVertexColor(mesh, 3, "0,0,255", false);//set vertex #3 to green