*Locate the file KrakatoaGUI.ms in the \Scripts sub-folder of the Krakatoa MX installation. Note that you need Administrator rights to modify files under Program Files sub-folders!
*Open it in the MAXScript Editor and Search for the line “on btn_createNewSelSet pressed do”. This is around line 8300, your version may vary.
*Modify the object collection code following it like this:
on btn_createNewSelSet pressed do
if selection.count > 0 then
if edt_createNewSelSet.text != "" then
local theObjects = for o in selection where (findItem geometryClass.classes (classof o) > 0 and findItem #(TargetObject, KrakatoaPrtLoader, PF_Source, PRT_Volume, PRT_FumeFX, PRT_Source, PRT_Surface, PRT_Hair, PRT_Maker) (classof o.baseobject) == 0) OR (classof o.baseobject == XRefObject AND isKindOf o.actualBaseObject GeometryClass) collect o
if theObjects.count > 0 then
In the above snippet, I have added the code “OR (classof o.baseobject == XRefObject AND isKindOf o.actualBaseObject GeometryClass)” which handles XRef Objects that contain a GeometryClass object.
*Press Ctrl+S to save the file (remember you need Administrator rights to do so).
*Press Ctrl+E to reevaluate it, then open the Krakatoa GUI again - you should be able to add Geometry XRef Objects to the Selection Set now.