Jump to content

Translator


Recommended Posts

Hi

 

I would like to build a translator. It should refer only to the document structure. Texts placed in the document can be disregarded. The rest should be translated.

 

For this I have encountered some problems.

 

- Is there an easy way to generate a list that contains all symbols, wall styles, line types, folders, etc.?
- What kind of object has the object type 57? I found it by examining the parent object of a folder. Unfortunately, it is not listed in the appendix.

- Similar to point 1: Is there a way to loop through all data visualizations. Again, unfortunately, I have not found any documentation.

 

 

Thanks in advance for the help.

Link to comment

As far as I know Data Visualizations are not currently scriptable as of VW2022.

 

For Resouces that are present in the drawing, but not use on an object in the drawing you will need to take a look at one of the four BuildResourceList functions to make a list and then walk that list. I think you will have to do each type of resource you are interested in separately. I am not certain if you can get a list of folders directly, but I think you can return the full path of a resource so you can probably extract the required folders from there.

 

I don't know what object type 57 is.  Based on something I saw in the SDK, it might be a Container Object Header Node, but I don't know what that means from a file structure basis.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...