Skip to content

Instantly share code, notes, and snippets.

View chuongmep's full-sized avatar
👋
Loading...

Chuong Ho chuongmep

👋
Loading...
View GitHub Profile
[12/06/2023 08:44:32] Job information:
{
"CommandLine": [
"$(engine.path)\\\\revitcoreconsole.exe /i \"$(args[inputFile].path)\" /al \"$(appbundles[ExtractRoomApp].path)\""
],
"Settings": {
"script": {},
"dasOpenNetwork": {
"value": "true",
"isEnvironmentVariable": true
[12/06/2023 08:43:09] Job information:
{
"CommandLine": [
"$(engine.path)\\\\revitcoreconsole.exe /i \"$(args[inputFile].path)\" /al \"$(appbundles[ExtractRoomApp].path)\""
],
"Settings": {
"script": {},
"dasOpenNetwork": {
"value": "true",
"isEnvironmentVariable": true
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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)
#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(" ");
void Main()
{
string[] inputs = {
"3764.301 mm",
"0.0 m³/h",
"0.0 m/s",
"0.00%",
"100",
"6498675.488 mm²",
"0.0 Pa",
We can't make this file beautiful and searchable because it's too large.
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
We can't make this file beautiful and searchable because it's too large.
| 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
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
# 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]