View Test-Read-Obj.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ReadDB_APS.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gzip | |
import json | |
import re | |
class PropDbReader: | |
def __init__(self, ids_path, offsets_path, avs_path, attrs_path, vals_path): | |
with gzip.open(ids_path, 'rb') as ids_file, gzip.open(offsets_path, 'rb') as offsets_file, \ | |
gzip.open(avs_path, 'rb') as avs_file, gzip.open(attrs_path, 'rb') as attrs_file, \ | |
gzip.open(vals_path, 'rb') as vals_file: | |
self.ids = json.load(ids_file) |
View test.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void drawLine(int x1, int y1, int x2, int y2) { | |
int i, j; | |
for (i = 0; i < 50; i++) { | |
for (j = 0; j < 80; j++) { | |
if ((j == x1 && i == y1) || (j == x2 && i == y2)) { | |
printf("o"); | |
} else { | |
printf(" "); |
View getsymbol.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
string[] inputs = { | |
"3764.301 mm", | |
"0.0 m³/h", | |
"0.0 m/s", | |
"0.00%", | |
"100", | |
"6498675.488 mm²", | |
"0.0 Pa", |
View rvt_anlyst_user.csv
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username,time,entry,jrnName,details,commandID,commandDesc,warningMessage,isWarning,isCommand,fileName,journalPath | |
none,10-May-2023 08:25:04.867,"Jrn.Directive _""CategoryDisciplineFilter"" , 31",Directive,none,none,none,"('none',)",False,False,none,./journalFiles/journal.0250.txt.copy.txt | |
none,10-May-2023 08:25:04.867,"Jrn.Directive _""DisciplineOption"" , 32253",Directive,none,none,none,"('none',)",False,False,none,./journalFiles/journal.0250.txt.copy.txt | |
none,10-May-2023 08:25:04.867,"Jrn.Directive _""TabDisplayOptions"" , ""StayOnModifyInProject"" , 0",Directive,none,none,none,"('none',)",False,False,none,./journalFiles/journal.0250.txt.copy.txt | |
none,10-May-2023 08:25:04.867,"Jrn.Directive _""TabDisplayOptions"" , ""StayOnModifyInFamily"" , 1",Directive,none,none,none,"('none',)",False,False,none,./journalFiles/journal.0250.txt.copy.txt | |
none,10-May-2023 08:25:04.867,"Jrn.Directive _""TabDisplayOptions"" , ""ActiveCtOnSelection"" , 1",Directive,none,none,none,"('none',)",False,False,none,./journalFiles |
View dump.csv
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GroupName | ParameterDisplayName | ParameterName | DataType | DataTypeString | ParameterValue | | |
|------------|----------------------|-----------------------------------|----------|----------------|----------------| | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 1676423 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 1676423 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 4986445 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 4986445 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 4986562 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue | 20 | String | 4986562 | | |
| Element ID | Value | LcRevitId:LcOaNat64AttributeValue |
View snoop_filter_forge.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GroupName | ParameterName | ParameterDisplayName | DataType | DataTypeString | ParameterValue | |
---|---|---|---|---|---|---|
__category__ | Category | 20 | String | Revit Furniture | ||
__categoryId__ | CategoryId | 2 | Unknown | -2000080 | ||
__instanceof__ | instanceof_objid | 11 | Unknown | 3460 | ||
__internalref__ | Level | 11 | Unknown | 2 | ||
__name__ | name | 20 | String | Seating-LAMMHULTS-PENNE-Chair [289790] | ||
__parent__ | parent | 11 | Unknown | 3461 | ||
__revit__ | ElementId | 20 | String | 289790 | ||
__viewable_in__ | viewable_in | 20 | String | 61570635-21bc-44a7-8ddf-22c33328e4ef-00017a36 | ||
Constraints | Elevation from Level | Elevation from Level | 3 | Double | 0.0 |
View sol.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load the Python Standard and DesignScript Libraries | |
import sys | |
import clr | |
clr.AddReference('ProtoGeometry') | |
from Autodesk.DesignScript.Geometry import * | |
# The inputs to this node will be stored as a list in the IN variables. | |
dataEnteringNode = IN | |
e = IN[0] |
View Thorup.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
int[][] adj = new int[][] { | |
new int[] {0, 10, 15, 10, 20}, | |
new int[] {10, 0, 35, 20, 25}, | |
new int[] {15, 35, 0, 30, 10}, | |
new int[] {50, 60, 30, 0, 10}, | |
new int[] {20, 25, 10, 10, 0} | |
}; |
View testparquet.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using ParquetSharp; | |
void Main() | |
{ | |
SaveToParquet(); | |
} | |
public static void SaveToParquet() | |
{ | |
var objectIds = new Entity[3]; |
NewerOlder