Custom Tip with Image
Is there any way to make a custom tooltip that can include an image? Thanks.
View ArticleSet dialog box screen position?
I have a couple of old scripts which I use frequently, and I've just finished updating them for 4.9 and modifying them to suit my workflow. But one thing I can't figure out is how to have a dialog box...
View ArticleZero Figure Action SAFE?
I needed a way to quickly zero out the bones and pose controls. Through spelunking around, I found out about:...
View ArticleHow to access advanced section in IRay render settings?
Trying to access the Render to Canvas checkbox and the Node List. I tried Rob's sample for finding properties in the render settings, but had no luck. Is there something special about the advanced tab?
View ArticleHow to get content path of wearablr
I want to fetch the content path of a wearable object that's already been loaded. I see there is a way to get an asset URI, but it's not the same as the content path.
View ArticleScript to attach the Base-Color Image Node to the Top-Coat-Color Node
Hello, I'm sorry, I'm a complete beginner concerning scripting and haven't done anything like that before, but now I really need a solution to quickly attach the Base-Color-Image-Node to the...
View ArticleReuse DzLayeredTexture or Delete Old Ones
I am using the DzLayeredTexture so that I can build a pixmap that is a combination of two images: surfaceImage = App.getImageMgr().createLayeredTexture( textureName );...
View ArticleDzFbxExporter crashes every time
How does one use the DzFbxExporter? I have a script which shows the export settings and allows to select the target for the export but every time I run it DS hangs at "Executing Script". Here is my...
View ArticleHow to delete a top level figure?
Didn't find this in the docs. How do I delete a top level figure from the scene using script?
View ArticleConvert to SubD script
I`d like to include a script to convert the selected item to SubD. Actually, the idea is to create presets so the user can toggle between 0 and 1 subdivisions for the selected item. I don`t know where...
View Articlestring on a new line (I/O file)
var sPath = FileDialog.doFileDialog(false); file = new DzFile( sPath ); file.open( file.WriteOnly ); var str1="1 string"; var str2="\n 2 string"; file.writeLine(str1+str2); file.close(); Hi! Why...
View ArticleHow to use DzProcess on a Mac?
I have created a small program that I am calling from Daz Script. The windows version works perfectly. I cannot get the Mac version to work. First, where does Daz want these small programs to be...
View Articlerecursive functions
Question 1: I'm trying to create a recursive function that will start at a parent node and work its way through the children, printing out their assetId, but it only returns the first child in each...
View Articlemouse interactions
Can somone nudge me in the right direction. I'm trying to find the object under my mouse curser, but have no idea what area I should be searching in in the API reference for more info about this.
View Articleweight maps
Is there a way to get hold of the weightmap information attached to a vertice / mesh or bone? I can get the node, the vertex, the Skeleton and the bone. I hear that boneBinding links the two together,...
View ArticleLooking for capable scripter
Hey folks, I am currently looking for someone who would be able to create a specific script for me. As you can see, the ui for it is pretty straight forward. The script should be able to read in the...
View ArticleHow to rotate object around a point?
Given a vector as center of rotation, how could I rotate an object around it Y degrees in the y-axis?
View ArticleGet selected faces
I'm trying to get hold of the selected faces, but the documentation on facets seems to be missing a lot of information, and so everything I've found has either been from the SDK documentation, or from...
View ArticleGeneral Scripting Performance Tips?
I wanted to ask (and start a thread here) for scripters to discuss ways of improving script performance. Obviously, some improvements aren't tied to the scripting engine itself and are simply...
View Articlealigning object along a normal
What would be the easiest way of aligning an object to another face along its normal?
View Article