How to add elements to a layer ?
All  1-8  9-18

Previous
Next
 From:  bemfarmer
8733.9 In reply to 8733.8 
Hi Michael,

Assign Name script is not working in MoI4Dec11Beta. No object names show up in the popup. (Window 7)
This is the case for activating the script with either Shortcut Key, or with Max's customui.

Assign Name Dialog does not seem to work properly in either MoI3 or MoI4Beta. (?) (For MoI3, the popup screen works, but in the Dialog window in upper right screen, selection does not work. For MoI4, Names do not show up in the popup window, nor the dialog window at upper right.)
(Activated with Shortcut Key, or customui.)

Similarly for Assign Preset Name, and Assign Preset Name Dialog. (I have 4, (edit, make that 6, with preset versions,) varieties of assign name script.)

- Brian

EDIT: The above (misleading) results are the result of having extra files, with incorrectly named extensions.
With correctly named files (including correct extensions), and without incorrectly named files (including no incorrect extensions),
AssignName and AssignPresetName seem to work correctly in MoI3 and MoI4beta.

EDITED: 14 Dec 2017 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
8733.10 In reply to 8733.9 
Did you write "AssignName" into your shortcut? And not "AssignNameDialog"?


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8733.11 In reply to 8733.10 
Hi Ralf,
I tried a lot of permutations, with the results posted :-)
I'm just posting to help with the "debugging" for V4.
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
8733.12 In reply to 8733.11 
Yes for sure :-)
But mostly the problems are on the Mac side...


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8733.13 In reply to 8733.9 
Hi Brian,

> Assign Name script is not working in MoI4Dec11Beta. No object names show up in the popup. (Window 7)

I'm not able to repeat any problem with AssignName over here, also running Windows 7 with the Dec11 beta.

Can you please post a 3dm model file that doesn't work for you , maybe something in your particular names is important for reproducing the bug.

I also tested AssignPresetName and that worked fine for me over here as well. There are a couple of different versions of it, make sure to use the newer v3 one that uses the MoI filesystem functions for reading the text file in with the name presets instead of the original one which used an ActiveX component to do it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8733.14 In reply to 8733.13 
Well, I have become very good at creating nonexistent errors:-)
(I was using simple squares and circles for testing, and ran some tests on another (work) computer too.)

With correctly named files (including correct extensions), and without incorrectly named files (including no incorrect extensions),
AssignName and AssignPresetName seem to work correctly in MoI3 and MoI4beta.

Somehow in the past 5 years or so, I've acquired extra copies of the 2 .....dialog.htm files, which are incorrectly named
AssignNameDialog.js, and AssignPresetNameDialog.js. The extensions should be .htm.
Also present are the correctly named .htm files.

Also the PresetNames.txt file was not copied over to MoIBeta command folder.

I also have correct and incorrect versions for custom.ui, with _underline prefixes...

Supporting a zip of 3rd party scripts would be more work, and may have risks...
Maybe there could be a zip file of non-stock, non-third party, proven scripts?
Maybe a listing of the names of the good, valuable, third party scripts?
Then there are the "not ready for prime time scripts." :-)

- Brian

EDITED: 14 Dec 2017 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8733.15 In reply to 8733.14 
I've figured out two of my mistakes, which are based upon the fact that for AssignName.js and AssignPresetName.js, their respective ....Dialog.htm do not use the same name as the .js script. Using customui also influenced the problem.

1. When writing scripts, I developed the bad habit of renaming two scripts at once, for example: somexscript.js and some_script.htm, renamed to say _somexscript.js and _somexscript.htm, or somexscriptSAVE.js and somexscriptSAVE.htm, which works fine when both the .js and .htm have the same name.
In the case of AssignName and AssignPresetName, the respective ....Dialog.htm file has a different name, so there is a 50% or so chance of naming the AssignNameDialog.htm file to say _AssignNamesDialog.js which is wrong, and causes problems when present.

2. The second error is that when using AssignName.js, the AssignNameDialog CANNOT be named _AssignNameDialog.
( the PresetNames.txt file also cannot have an underline prefix.)

- Brian

My 3rd error was not copying PresetNames.txt to the MoI4Beta.

I think that I have been using the preview area of Windows (file) Explorer incorrectly as well...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8733.16 In reply to 8733.15 
Hi Brian, I'm glad you got it working now! Yes, renaming them might lead to mix-ups. I think Burr does have a .zip file collection of a whole bunch of scripts somewhere, let me see if I can find it. Ok I think this is it: http://moi3d.com/forum/index.php?webtag=MOI&msg=7841.6

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Rudl
8733.17 
I would like to have the possibility of layers and sublayers and so on, to organize big objects.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
8733.18 In reply to 8733.17 
Hi Rudl, I'm thinking that there could be "folders" for that, hopefully to use in the Objects section of the Scene Browser as well.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-8  9-18