Try to find Xpresso nodes with Undefined ports. Maybe it will help.
Checkout my python tutorials, plugins, scripts, xpresso presets and more
Posts made by mikeudin
RE: R20 - R21 Brakes xpresso setup
RE: Autocomplete successful but symbol IDs are unrecognized (on Pycharm)
@bentraje You have to edit your
"C:\Program Files\MAXON\Cinema 4D R20\resource\modules\python\libs\python27\c4d_init_.py"
file by adding all symbol ID's as module variables.
Check out an example file, make sure you have a backup!
Send Python Code To C4D from any Texteditor
I've created little solution to send python code to execute in Cinema 4D. Also it works for editing Pyton Generators, Effectors, Tags and Fields! Thanks for Remote Code Runner - Cinema 4D & Sublime Text plugin by NiklasRosenstein.
Python module Inspect don't showing updated code
I've been trying to find solution to get python function code and inspect module seems to be working nicely but only in python shell and Subline Text console. But when i try to launch this code on Cinema 4D Scripts Manager it shows me only first version code and after changing script code keeps showing same results. It's like a there is uncleaned cache...
Any ideas how to fix this thing? Thx!
import inspect # Save this code as script py-file and start def main(): code = inspect.getsource(main_new) # place function code to str variable print code # print code text. Works on Python Shell, but not in C4D Scripts Manager def main_new(): # This is a comment # New comment string # Change this code, to check the console output pass if __name__ == '__main__': main()
Get Message from TreeView gui dialog
I'm writing Command Data plug-in and have a TreeView custom gui element where user can drop some things to create elements tree.
Now i need to send, for example, Tree items count to main GeDialog window each time when user interacts with TreeView.
How i can make it?
I was found this tread, where using SendParentMessage, but it's not working with TreeView.
RE: TreeView: How to insert dragobject as new item
Solved. There is TREEVIEW_OUTSIDE_DROP option.
TreeView: How to insert dragobject as new item
Is possible to insert new TreeView items using drag and drop as new root childs? When TreeView have no any element to insert BEFORE or AFTER.
I'm using AcceptDragObject but can't understand how to reproduce issue when obj is None like in this note.
If obj is None then dragobject should be inserted as a child of the root.
RE: Documentation Plugin
I'm trying to use this super handy plug-in to build help system for my plug-ins.
Thanks for sharing this!
After some days of working i have a some suggestions and bug reports.
- After each publishing, resulting index.html have a title tag "Plugins 4D Documentation".
- Is it possible to add ability inserting images with other formats like gif, jpg? Now i have to copy my images to images folder and type using markdown code like this (not showing in Preview window):
![Target 4D Move tool](images/mikeudin-target4d-feutures_5.gif "Target 4D Move tool")
- Preview window stops showing any text content if it contains symbol '–'. But after publishing results, final HTML is ok.
- Would be great to add ability to add favicon image.