Civil view a scripted plugins

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am getting more and more into MXS, particularly leveraging off civilview which I have loved since 2007.
As part of making max more design orientated as I am finding that the use of maxscript allows design to be accurate, fast and friendly going into software like Naviworks.
I am at a stage now where I had a crack at a plugin to make overhead gantries parametric similar to that is already present in Civilview.
The trouble is I don't really have a good grasp of the class id for getting the plugin in as part of using the object placement style editor.
The Autodesk help menu from civil view says this
"Source
Can be used in one of two ways depending on whether the source is a static object or a parametric object:
- For static objects, names the external 3ds Max (.max) file that contains the furniture object. This .max file must exist within the /objlibs/furniture folder within a current Civil View resource kit. File names can be specified with or without the ".max" filename extension.
- For parametric objects, a 3ds Max object plug-in class must be specified. Class names must end with "()" in order to be recognised as a plug-in class rather than a .max file. Several parametric object plug-ins ship with Civil View as standard, for example:
- Vsp_Gantry()
- Vsp_Lamp()
And I cant find how these were created but secondly how I can get a class id suitable for my little plugin. I know I could take it further once I could understand how to get it into civilview.
Thanks
the header of my script is such but wondering how to define a vsp based classid
plugin simpleObject OHLE_gantry name: "OHLE_Gantry" classid: #(0x1c3a0585, 0x132e1a47) -- create the boxes for use as the UC, base plat category:"OHLE_Furniture"
etc....
Thanks