This file contains hidden or 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
@media print { | |
@page { | |
size: A4; | |
margin: 0.5em; | |
} | |
.sec_disciplina:not(:first-of-type) { | |
page-break-before: always; | |
} |
This file contains hidden or 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
[ | |
{ | |
"codTools": "00.001", | |
"importar": true, | |
"abertura": "", | |
"adicional": null | |
}, | |
{ | |
"codTools": "00.001.001", | |
"importar": false, |
This file contains hidden or 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
name: Tools | |
description: Create a new snippet from a blank template. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); | |
async function run() { | |
await Excel.run(async (context) => { |
This file contains hidden or 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
SUMARIZACAO = LAMBDA(a,b, c, d,( | |
CONCAT("0",a,".",IF( | |
LEN(b)=1, "00" & b , "0" & b),IF( | |
ISBLANK(c),"","."& IF(LEN(c)=1, "00" & c , "0" & c)),IF( | |
ISBLANK(d),"","."& IF(LEN(d)=1, "00" & d , "0" & d) | |
)) | |
)); | |
DOT = LAMBDA(num, | |
(LEFT(num, 3) & "." & |
This file contains hidden or 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 clr | |
# Import DocumentManager and TransactionManager | |
clr.AddReference("RevitServices") | |
import RevitServices | |
from RevitServices.Persistence import DocumentManager | |
# Import RevitAPI | |
clr.AddReference("RevitAPI") | |
import Autodesk |
This file contains hidden or 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
# collection of Dynamo Python functions. | |
# credits: archi-lab, MEPover, Bimorph, Clockwork, Rhythm and many more |