DaveWortley
@davewortley
New Member
Joined: Feb 14, 2024
Topics: 195 / Replies: 934
Reply
RE: How to delete xref objects

For o in objects where classof o == XrefObject do delete o

13 years ago
Forum
Reply
RE: Undo on… RenderWidth/RenderHeight Changes…

Thanks Rappy, but that’s not the intention of my script. My script is more similar to MartinB’s Overscan script where you can modify the camera FOV an…

13 years ago
Forum
Reply
RE: Undo on… RenderWidth/RenderHeight Changes…

So having sat on it for a bit I’ve realised rather than having a dedicated Undo button for my script the best thing to do is use the #sceneUndo callba…

13 years ago
Forum
Reply
RE: Undo on… RenderWidth/RenderHeight Changes…

I always think Hold/Fetch is a lazy way to code tools, it’s all well and good for small scenes but when you work with CAD data it’s just impractical t…

13 years ago
Forum
Reply
RE: Undo on… RenderWidth/RenderHeight Changes…

Yeah, was just thinking out loud, turns out I didn’t need to make it that complicated, just stored those values before my buttons do anything and then…

13 years ago
Forum
Topic
Forum
Replies: 10
Views: 26
Reply
RE: dotnet listview items

for i = lv.selecteditems.count to 1 by -1 do ( –delete the max file.. [b]deleteFile[/b] a.tag lv.Items.Remove(lv.selecteditems.item[i-1])…

13 years ago
Forum
Reply
RE: Calculate Object Render Region

fn bb2rect = ( if $ != undefined then ( renderSceneDialog.close() vpSize = getViewSize() gw.setTransform(Matrix3 1) sel = getCurrents…

13 years ago
Forum
Reply
RE: Calculate Object Render Region

It works, but a) is really really slow and b) if the object goes off the edge of the Frame the region is rendering into negative space, which causes i…

13 years ago
Forum
Reply
RE: Calculate Object Render Region

Thanks Dan, I’m going to pass these point2 value to Deadline so it’s not really a pre-render script, as it’ll be set before submission, but needs to b…

13 years ago
Forum
Topic
Forum
Replies: 8
Views: 23
Topic
Forum
Replies: 1
Views: 14
Reply
Topic
Forum
Replies: 2
Views: 15
Page 49 / 76