Jump to content

Hippocode

Member
  • Posts

    796
  • Joined

  • Last visited

Everything posted by Hippocode

  1. What you are requesting is something that has to be hardcoded in the plug-in. The space object for example can do this. You can choose which parameters appear on the OIP. If you do not have the option for the door, then there is no way of doing it.
  2. Yes I'm heavily working on releasing the 2016 version any time soon. Once released I'll announce it in the third party forums.
  3. Maybe a valid workaround is to create a viewport based on the view settings ? I had a script that created unlimited A4 sized pages (based on input), added a viewport that scaled down to fit into the drawing border frame and lastly printed each page to PDF. As I ended up with a lot of presentation layers I didn't need afterwards I changed the code to use only one predefined presentation layer and to switch the viewport settings for each iteration. The only difference with what you need are additional class and layer settings to be saved into the viewport. Maybe that even works by just creating the viewport after loading the view instance.
  4. From what I understand VRestore should load a saved view. Which part didn't work, the view restoring or the printing ? What did it print ?
  5. I believe I had a similar issues with one of my custom batch prints. I advice you to make sure that the "page" you want to print is active, if not force it by code.
  6. Vectorworks stores dimensions in WorldCoord which at this point is equal to one mm. When you used 50cm in VS it would automatically convert it into 500. Regardless of the unit settings, that is the value, always. When showing the coordinates to the user, the value is modified based on the unit settings, but the length is always the same. Can't this function do the same ? http://developer.vectorworks.net/index.php/VS:Str2Num
  7. The sum only combines listed items based on a shared value on the colum you assigned the SUM. You can't just select and choose to combine items. A workaround is to give those you want the combine the same value for a certain attribute/fieldvalue... and use the SUM there.
  8. The easiest way is just to copy the worksheet into excel.
  9. I don't think so. Maybe you could generate a fairly simple script to do that for you: - Read the header and data line - Create a presentation sheet our output location - Print until you reach the height of your presentation sheet frame - Next sheet...
  10. Can you confirm that nothing is selected when you modify the record field settings ? That can be the only reason why it isn't working. If you do have something selected you are modifying data attached to the objects inside your symbol, not the symbol definition.
  11. I'm pretty sure this is impossible, unless the tool saves its settings into the active document which you could change prior to calling the tool. IF that is the case, the tool should remember your last setting when you close VW and reopen the same drawing. Most cases, this is a private setting in the tool event sink and can't be changed manually. This is intended behavior. The PushAttrs command has nothing to do with tool modes / settings.
  12. It is not possible to manually save those settings but it isn't required anyway. the CallTool command just activates a tool and will do anything the tool is programmed to do, including keeping track of it's settings. I've tried your script and the tool settings are saved without any problem. I see you are using 2016, might be related if anyone else can verify.
  13. I'll release the next one upcoming weekend.
  14. I don't think there is an easy solution as you would have using excel. Keeping that in mind wouldn't it be easier to create a worksheet showing each length in a seperate column and porting it into excel ? On the other side you can create a separate if(.a1 == 25)... criteria for each field or you use a script to print the data instead.
  15. Sadly for you, there is nowhere a field saved that holds the index of the last added revision. There is a solution for you but you would need to use a script to find the last used index by traversing the list until you find an empty one...
  16. Pas possible. The best thing you can do is to write a script that sets the current date into a field of your drawing border. In fact you could even add the publish command to it as well so you have your custom command that sets the correct date, then prompts you the publish dialog. This makes sure you don't forget to set the correct date prior to publishing. On the other hand, there are some tools running around the web offering such capabilties, for a small price.
  17. VS has some conversion functions to handle that. I also believe concat(Real) will do the trick. For the CP, just add them as a parameter and instead of creating the text at 0,0 you use the coordinates of that CP. The coordinates are 2 real parameter fields
  18. I really like the new logo. Reminds me of the movie V for Vendetta .
  19. Make sure your numbering is unique.. instead of making it 1...7 make it _1...7 or anything else that is not yet used by another resource/plug-in.
  20. There is indeed no field for the revision number as it's not needed. Their scripts just number them based on the parameter names. xxx1 xxx2 xxx3. The conversion from char<>number depends on the setting in the drawing border. This is the SDK function to unhide the object, in vs you probably have a similar function SetProperty or something. gSDK->SetObjectVariable(RecordFormatHandle, ovFormatVisibility, TVariableBlock((Boolean) false)); ovFormatVisibility = 900 btw.
  21. The record name is "Revision Data" and "Issue Data". You can make it visible in the resource browser as well if you set the visibility property to true.
  22. Unless you need to create 15000 different sized arrows I find it easy by drawing a line and assigning a class or custom arrow... If you would create a parametric object for it, again you would need to set the same settings as you do now in the attributes palette.
  23. You need to make sure that symbol hand is a handle to the symbol definition, not a symbol.
×
×
  • Create New...