|
More site info...
3dsMax SDK and MaxScript | Forum profile
|
|
Forum profile page for 3dsMax SDK and MaxScript on http://forums.cgsociety.org.
This report page is the aggregated overview from a single forum: 3dsMax SDK and MaxScript, located on the Message Board at http://forums.cgsociety.org.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "3dsMax SDK and MaxScript" on the Message Board at http://forums.cgsociety.org is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on 3dsMax SDK and MaxScript:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
98
|
324
|
858
|
|
Post:
|
275
|
830
|
2,458
|
|
|
3dsMax SDK and MaxScript Posting activity graph:
|
Top authors during last week:
user's latest post:
PFlow - reading user data...
Published (2009-12-19 23:49:00)
you can do the same thing but much easier. You don't need to collect array of user channel values for every particle ( it kills memory pretty soon ). You can just store ParticleContainer itself on Procced event. Here is a scenario: 1. create custom Attribute for the patricleFlow of type #MaxObject (lets say "container"). 2. On Proceed event check NumParticles in current ParticleContainer and if the number more then ZERO...
user's latest post:
How to check a class of selection?
Published (2009-12-19 04:02:00)
Quote: Originally Posted by mhdmhd I want to get true if every object in my selection is a certain class. You can use a for loop and check each object in the selection. How you handle the results though is up to you, here is one way to do it: Code: (for o in selection where classof o == Box collect o).count == selection.count This loops through all selected objects and collect those that match the desired class (in this case Box). If the...
user's latest post:
callbacks.notificationParam()
Published (2009-12-17 17:26:00)
I would just make separate functions and call the appropriate function in each callback. If you really want to go with the approach you are talking about (I would recommend just making separate functions, as mentioned above.. waaay easier), the node callback system offers something along the lines of what you are mentioning. It passes the name of the event being called to the function. I really like the system, as I think it offers a lot more...
user's latest post:
Form Components Opacity
Published (2009-12-18 11:14:00)
It worked now for Max9 , finaly! Thanks Denis :-) Code: global WindowWrapper if WindowWrapper == undefined do ( fn getWindowWrapper = ( source = "" source += "using System;" source += "using System.Windows.Forms;" source += "public class WindowWrapper : IWin32Window" source += "{" source += " public WindowWrapper(IntPtr handle) { _hwnd = handle;...
user's latest post:
EffectsChannelSet
Published (2009-12-15 09:39:00)
awesome script mate... I use Mental Ray but the other functions are really good! Thanks for the link. I really appreciate it. cheers NAIK
user's latest post:
How to attach splines to an Edit...
Published (2009-12-19 08:57:00)
Thank you guys, but the issue is with Modifiers only, the Editable Spline and Editable Mesh as base objects parts are already coded :) - Enrico
user's latest post:
rendpickupframes to array
Published (2009-12-14 18:27:00)
Quote: Originally Posted by denisT Usually rendpickupframes mode is used for preview purpose. There are several reasons to use repeated frames and different then straight frame order. 1. Making a delay at the begging or at the end of movie clip 2. Rendering forward and reverse animation in the same clip Rendpickupframes could be used for those actions, but it really can't. e.g "20-5" will not work. And even if it would,...
user's latest post:
Form Components Opacity
Published (2009-12-18 16:29:00)
Quote: Originally Posted by denisT the best way to do it is to use two forms (one on top of the other): Code: try(form.close()) catch() form = dotnetobject "MaxCustomControls.Maxform" form.size = dotnetobject "System.Drawing.Size" 200 200 form.opacity = 0.7 tb = dotnetobject "Button" tb.text = "Top Button" tb.Dock = tb.Dock.Top bb = dotnetobject "Button"...
|
|
|
|
Latest active threads on 3dsMax SDK and MaxScript::
Started 2 days, 22 hours ago (2009-12-19 19:30:00)
by denisT
Quote:
Originally Posted by kaczorefx
Ok, after a lot of fighting and with a lot of help from users here, I've found a way to do that.
Just use the following code in you script where you want to read the data from PFlow:
Code:
-- insert a script operator into every event in PFlow. This script will write out user channel values to a ...
Started 2 days, 20 hours ago (2009-12-19 21:07:00)
by labbejason
You could simply apply a float script to the camera's fov track. You won't be able to change its value through the spinners, only through the float script.
Started 3 days, 21 hours ago (2009-12-18 20:03:00)
by PiXeL_MoNKeY
Check the Maxscript Help File > MAX File Loading and Saving. You can use mergemaxfile with #deleteOldDups which according to the help file is equivalent to replace from the UI. There are other commands for handling of parenting, materials, etc.
-Eric
Started 3 days, 21 hours ago (2009-12-18 20:37:00)
by denisT
Quote:
Originally Posted by SyncViewS
Hi guys,
I'd like to know if there's a way to attach splines to an Edit Spline Modifier by MaxScript without user interaction. splineOps methods just activate the attach command, like pressing buttons in Command Panel, so they're not an option.
On a side note, same question goes for an Edit Mesh Modifier ....
Started 3 days, 21 hours ago (2009-12-18 20:07:00)
by PiXeL_MoNKeY
Search the help file for "FileStream".
Quote:
A FileStream class implements text file input and output in MAXScript. A FileStream value represents an open text file in MAXScript. Text file I/O is performed by calling functions on the FileStream value.
-Eric
Started 3 days, 13 hours ago (2009-12-19 04:02:00)
by Bobo
Quote:
Originally Posted by mhdmhd
I want to get true if every object in my selection is a certain class.
You can use a for loop and check each object in the selection.
How you handle the results though is up to you, here is one way to do it:
Code:
(for o in selection where classof o == Box collect o).count == ...
Started 6 days, 4 hours ago (2009-12-16 13:35:00)
by PEN
Dotnet is the only way that I can think of. Is that a direction that you want to go before I try and whip up some code?
Started 3 days, 19 hours ago (2009-12-18 22:55:00)
by JHN
That's quite impressive Mike, thanks for sharing!
-Johan
Started 1 week, 1 day ago (2009-12-13 22:57:00)
by MerlinEl
Hi
Is there any way to set opacity 100% for components
in the form which have opacity 80%
Code:
fn netDrColor clr = ((dotNetClass "Drawing.Color").fromArgb clr.r clr.g clr.b)
fn netDrSize size = (dotNetObject "Drawing.Size" size.x size.y)
fn onPaint s a =
(
local fillBrush = dotnetobject "System.Drawing.SolidBrush" (netDrColor red)
local rect = (dotnetobject "...
Started 6 days, 9 hours ago (2009-12-16 08:07:00)
by VVaari
Maybe you can use dotnet TrackBar-class:
Code:
(
global trackBarRollout
try destroydialog trackBarRollout catch()
Rollout trackBarRollout "trackbar"
(
dotnetControl myTrackBar " system.windows.forms.trackbar"
on trackBarRollout open do
(
myTrackBar.AutoSize = false
myTrackBar.Size = dotNetObject "System.Drawing.Size" 170 20
)
)
...
|
|
Hot threads for last week on 3dsMax SDK and MaxScript::
Started 1 week, 1 day ago (2009-12-14 17:30:00)
by denisT
Quote:
Originally Posted by naik
Hey guys im really a novice to maxscript
and it should be really simple to write some code for that purpose
but im not an expert for this stuff.
I need a little script in order to
randomize my objects MaterialId / ObjectID.
--
max select all
for i in selection do i.gbufferchannel = random 1 100"...
Started 1 week, 2 days ago (2009-12-13 15:36:00)
by SyncViewS
Hi David,
here is a function to do the job.
Code:
function rendFramesAsArray sRendFrames =
(
while ((findString sRendFrames " ") != undefined) do
sRendFrames = substituteString sRendFrames " " ""
local asFrames = filterString sRendFrames ","
local aiFrames = #()
for sFrame in asFrames do
(
if ((findString sFrame "-") == ...
Started 1 week ago (2009-12-15 14:47:00)
by Mathieson
Are you using 64- bit Max? I have run into random system exception errors quite often with caDefs and 64-bit Max. Sometimes I could just close Max and wait for the process to completely end, then it would be fixed next time I started Max. Other times there would be nothing I could do to get rid of it.
The only reason I really started noticing it was because I had script controllers ...
Started 1 week ago (2009-12-15 00:35:00)
by denisT
Quote:
Originally Posted by LiamDavis
This might be something really simple, but Ive been searching through the maxscript reference for an answer to no avail. For a piece of code I am writing, I need to be able to use a string that is put together earlier in the function as a variable name to store a mesh.
To be exact, they are going to be ...
Started 5 months, 1 week ago (2009-07-15 09:30:00)
by hotknife
Got a few issues here with it.
Doesn't seem to store the last image.
Scrolling the bottom slider opens another windows with a image in but none of the previous renders.
Also it would be nice to maintain all the options that come with the default Vfb - especially the mental ray properties such as reusing geometry switches.
Started 3 days, 21 hours ago (2009-12-18 20:37:00)
by denisT
Quote:
Originally Posted by SyncViewS
Hi guys,
I'd like to know if there's a way to attach splines to an Edit Spline Modifier by MaxScript without user interaction. splineOps methods just activate the attach command, like pressing buttons in Command Panel, so they're not an option.
On a side note, same question goes for an Edit Mesh Modifier ....
Started 1 week, 3 days ago (2009-12-11 19:17:00)
by j-man
Hi Mathieson,
I'm not sure I understand, are you looking to compare two values or two lines?
This is the post regarding calculation a line / line intersection:
http://forums.cgsociety.org/showpos...267&postcoun t=3
J.
Started 6 days, 9 hours ago (2009-12-16 08:07:00)
by VVaari
Maybe you can use dotnet TrackBar-class:
Code:
(
global trackBarRollout
try destroydialog trackBarRollout catch()
Rollout trackBarRollout "trackbar"
(
dotnetControl myTrackBar " system.windows.forms.trackbar"
on trackBarRollout open do
(
myTrackBar.AutoSize = false
myTrackBar.Size = dotNetObject "System.Drawing.Size" 170 20
)
)
...
Started 5 days, 20 hours ago (2009-12-16 21:42:00)
by Polimeno
guess it was phoelix tutorial .... isn´t it ?
hope it helps.
**** EDIT ****
Aren´t you talking about this Algorithm ??
source 01
source 02
source 03
source 04
source 05
Started 2 weeks, 6 days ago (2009-12-01 19:08:00)
by denisT
Quote:
Originally Posted by WhiteMage
There is a script for maya that does stepped mode animation without having to chage your f-curves tangents and I would like to use the same kind of script for 3dsmax.
http://www.creativecrash.com/maya/d...n/c/abxplayk eys
Is there such a thing? If not, I'd like to make one and I'd like to know where to ...
|
|