magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: creating controls on rollout depending on number of layers in scene?

Instead of using native mxs controls you might want to check out the listview control. Each row in a listview can have a checkbox, and multiple column…

18 years ago
Forum
Topic
18 years ago
Forum
Replies: 0
Views: 50
Reply
RE: DotNet Arrays

Change this line : dataGridView1.Columns[1].Name = “Track” To (the collection array is zero-based) : dataGridView1.Columns.Item[0].Name = “Column 1” …

18 years ago
Forum
Reply
RE: how to store format " " result as string?

abyjoe: gravey you are right… the code by itself does work… … code … this i tried and it doesnt work… i think whats wrong it createfile function… …

18 years ago
Forum
Reply
RE: how to store format " " result as string?

Could it be that you left the file open in a previous run? When you execute (opening but not closing the file): fStream = openFile out_name mode:”w”…

18 years ago
Forum
Reply
RE: Using LengthTangent?

The vector can be used to set the .dir (direction) property of an object: $Box01.dir = [b]theVector[/b] Or you could use it to build a matrix: wUp…

18 years ago
Forum
Reply
RE: How to copy a XRef object group as instance?

You’re probably better off using the maxOps.CloneNodes function, which retains node hierarchies/dependencies. The following should do the trick: maxO…

18 years ago
Forum
Reply
RE: Accessing elements from different rollouts

It will also work if you declare them as locals. This is probably a matter of personal preference, but in my experience it’s better to use locals unle…

18 years ago
Forum
Reply
RE: nodePreDelete Callback Problem

Since you’re deleting nodes in the callback function itself, your function causes the callback to be executed recursively (until the script errors out…

18 years ago
Forum
Reply
RE: Plugin UI Problem

You could store the selection index of the dropdown list in the param block of your plugin, and use the on rollout open event to enable/disable the co…

18 years ago
Forum
Reply
RE: Refine Splineshape usage?

I just started modifying Mike’s script without looking for any alternatives, which seems to be a bad habbit of mine Thanks for the heads up! Martijn

18 years ago
Forum
Reply
RE: Refine Splineshape usage?

Iterating through numSegments Myline s will not work, since the refineSegments function causes the number of segments to change each time you call it….

18 years ago
Forum
Reply
RE: How to use add_path in Path Constraint?

Mike, Here’s the method for adding paths to a Path Constraint controller: mybox01.pos.controller.appendTarget $Line01 50 where 50 (default) is the we…

18 years ago
Forum
Reply
RE: Dialog Menu's

I’m afraid the opening of a subMenu doesn’t call any event. Martijn

18 years ago
Forum
Reply
RE: undo xrefs.addNewXrefObject

It appears that this function is not undoable… Creating an instance (or copy) of the imported object might actually be the best solution (read: hack) …

18 years ago
Forum
Page 17 / 37