Jump to content

Tobias Döngi

  • Content Count

  • Joined

  • Last visited

Community Reputation

4 Neutral


About Tobias Döngi

  • Rank

Personal Information

  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. You can achieve that easily by writing "if 'BST' in outvalue:" As long as it's okay that the string can be at any position in outValue.
  2. Again, here too, in short: in the dialog, tab "Division", select one box, then click the symbol with the arrow for expanding the selection, until you have the right selection for the door you want to change. You can do this even faster by holding the alt key down while clicking the desired box.
  3. If you are trying to set the palette visibility on Windows then this call will not work at all. Please see my answer in above mentioned thread. You would have to retrieve the WindowsOSData, parse the XML, find the corresponding palette there and alter its visibility. As far as I know this cannot be done via SDK yet.
  4. It depends on which platform you are creating the new palette. Under Windows you cannot set the visibility state by API. This is due to the fact that NVI is using a third party module for rendering all the palettes. You can see this when opening a Windows workspace file in a text editor. There is a special tag WindowsOSData. That's a xml subsystem with own palettes and settings specific to the Windows platform. You can retrieve this data by calling: TXString newWinOSData; workspaceFile->GetWindowsOSData(newWinOSData);
  5. Hello, I'm using following code to create new tool palettes: VCOMError XGWorkspaceCreator::CreateNewToolPalette(const TXString& paletteName, IWorkspaceFile* workspaceFile, IWorkspaceToolPalette** newToolPalette) { VCOMError error = kVCOMError_Failed; if (workspaceFile) { TXString toolPaletteID; CREATE_TOOLPALETTE_ID(toolPaletteID, error); workspaceFile->CreateToolPalette(toolPaletteID, newToolPalette); (*newToolPalette)->SetDisplayName(XG::Win2MacString(paletteName)); } return error; } Where workspaceFile points to a workspace file within Vectorworks program directory.
  6. Cool, great tutorials and a lot of fun to learn something about modeling beside the normal hacker work 😉
  7. Ah great, never thought about that. Thanks for your help.
  8. As mentioned in the title I'm wondering what the method bool IResourceManagerContent::GetSelectedResourceIsDocument() does. My first thought that it validates if the selected resource is already in document proofed wrong after some debugging and importing resources and re-importing them. And what the name suggests if the selected resource is a document sounds somewhat weird. Can anyone help? Best regards Tobias


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...