Pjanssen
@pjanssen
New Member
Joined: Feb 14, 2024
Topics: 53 / Replies: 510
Reply
RE: assembly:how to make a dotNetControl?

Ah so the problem is creating a control which does not have a constructor taking 0 arguments?

14 years ago
Forum
Reply
RE: assembly:how to make a dotNetControl?

dotnet.loadAssembly “your_control_assembly.dll” rollout test “test” ( dotnetcontrol ctrl “your_namespace.your_controlclass” ) Should do the trick.

14 years ago
Forum
Reply
RE: Custom attribute help in maxscript

TheGrak: #1. You’re code didn’t call for a custom data structure, so I removed the struct. You can do what you want to do with just functions. […]…

14 years ago
Forum
Reply
RE: Custom attribute help in maxscript

There are two ways of going about this: either you access the CA’s property through the object it is applied on: custAttributes.add item.modifiers[1]…

14 years ago
Forum
Reply
RE: Custom attribute help in maxscript

Well you’ll then have to set these parameters on the CA of course. Currently you’re assigning your local a, b and c. To preserve the references, you s…

14 years ago
Forum
Reply
RE: Custom attribute help in maxscript

Please use the [ code ] and [ /code ] tags and indentation, that will make your code a lot easier to read. From what I can see the problem you’re hav…

14 years ago
Forum
Reply
RE: windows and doors data collection with dropdownlist

on c pressed do ( if b == “windows” then ( for o in geometry where hasProperty o “Horizontal_Frame_Width” do ( format “% % Width % ” (cla…

14 years ago
Forum
Reply
RE: windows and doors data collection with dropdownlist

Please use the [ code ] and [ /code ] tags and indentation, that will make your code a lot easier to read. You can use the dropdownlist’s selected pr…

14 years ago
Forum
Reply
RE: Request: Best books/resources for learning XML

Are you looking for general XML resources or ones specifically about the file formats you mentioned? The XML standard is in essence quite simple, and …

14 years ago
Forum
Reply
RE: max2009 to max2012 scripts

Really, is that the reason? :shrug: That seems like very backward reasoning to me. If the expected behavior of Maxscript’s sort() is that it should d…

14 years ago
Forum
Reply
RE: max2009 to max2012 scripts

Papigiulio: So my question is in order to fix it where should I start looking, where can i find what has changed in the scripting language from 2009…

14 years ago
Forum
Reply
RE: Call for MAXScript Docs Bug Reports

Here’s another I came across recently: <ReferenceTarget>LayerManager.getLayerObject {… should be ILayerManager.getLayerObject.

14 years ago
Forum
Reply
RE: Call for MAXScript Docs Bug Reports

Ah yeah that link ended up being rather incorrect… Another thing that I would like to see improved is the index function. That’s the main thing I use …

14 years ago
Forum
Reply
RE: Call for MAXScript Docs Bug Reports

It’s great to have communities to do work for free, innit Here’s one I came across recently: In the last example, there’s a quote character that sh…

14 years ago
Forum
Reply
RE: Format not outputting what i've specified

How about something like this? ( local files = getFiles “C:/mypath/*.txt” local output = createFile “C:/myfile.txt” for f in files do ( local input …

14 years ago
Forum
Page 9 / 38