Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5793

Error in `rhinoscriptsyntax-structured-docstring.json`

$
0
0

@kitjmv wrote:

Hello !

For my actual project i use rhinoscriptsyntax-structured-docstring.json for auto generate differents tests

I have remark an error, there are some arguments that are omitted in the Arguments fields

for

AddBlock(object_ids, base_point, name=None, delete_input=False)

the coresponding json is:

  ...  
  {
    "ModuleName": "block",
    "functions": [
      {
        "ModuleName": "block",
        "Name": "AddBlock",
        "Arguments": [
          {
            "Name": "base_point",
            "TypeInfo": "(point)",
            "Desc": " 3D base point for the block definition\r\n      "
          },
          {
            "Name": "name",
            "TypeInfo": "(str, optional)",
            "Desc": " name of the block definition. If omitted a name will be\r\n        automatically generated\r\n      "
          },
          {
            "Name": "delete_input",
            "TypeInfo": "(bool)",
            "Desc": " if True, the object_ids will be deleted\r\n    "
          }
        ],
        ...

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5793

Trending Articles