Files
RevitSdkSamples/snapshot/2008/SDK/Samples/InplaceFamilyAnalyticalModel3D/CS/ReadMe_InplaceFamilyAnalyticalModel3D.rtf
T

77 lines
31 KiB
Plaintext
Raw Normal View History

2024-12-12 09:51:40 +01:00
ÐÏࡱá>þÿ 9;þÿÿÿ8ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿì¥Áq` ñR¿õ
bjbjqPqP .::õÿÿÿÿÿÿ¤ÆÆÆÆÆÆÆÚ¢
¢
¢
¢
$Æ
ÚH,øæ
æ
æ
æ
æ
æ
æ
æ
Ç+É+É+É+É+É+É+$@.h¨0€í+Ææ
æ
æ
æ
æ
í+ÆÆæ
æ
,ÂÂÂæ
vÆæ
Ææ
Ç+Âæ
Ç+ÂÂ6;)ôÆÆ?+æ
Ú
Ðke°¥gÇ¢
\
/*Ç+,0H,K*ô(1fF(18?+(1Æ?+ˆæ
æ
Âæ
æ
æ
æ
æ
í+í+¬æ
æ
æ
H,æ
æ
æ
æ
ÚÚÚä¾ äÚÚÚ¾ ÚÚÚÆÆÆÆÆÆÿÿÿÿ Application: InplaceFamilyAnalyticalModel3D
Revit product and version: Revit Structure 2008
Last Modified: 11/12/2006
Modified By: JY Autodesk HSL
Programming Language: C#
Subject: This sample demonstrates how to read an analytical model 3D object from an in-place family instance.
Classes:
Autodesk.Revit.IExternalCommand
Autodesk.Revit.Elements.FamilyInstance
Autodesk.Revit.Structural.AnalyticalModel3D
Project Files:
InplaceFamilyAnalyticalModel3D.cs
This is the main DLL source file. It contains the class Command which inherits IExternalCommand interface and implements Execute method. And this class also dumps the family instance information (Family name, Family Symbol name and Family Instance name) and the curves of its 3D analytical model.
Description:
Iterate through the selection, picking out family instances that have a 3D analytical model.
Output family instance information
Family name (use FamilyInstance.Symbol.Family.Name)
Family Symbol name (use FamilyInstance.Symbol.Name)
Family Instance name (use FamilyInstance.Name)
Use FamilyInstance.AnalyticalModel property to access the analytical model and check if the type is AnalyticalModel3D. Then output the curve of this AnalyticalModel3D.
Instructions:
Create an in-place structure column that has AnalyticalModel.
Select some elements in which the in-place structure column is included.
Run this sample.
Expected result: the selected column’s basic information and the AnalyticalModel3D curves information will be dumped to output window.
 
+,FG[\jkuv‚“¨©¬­µÏ      % & ' H ñä×äñäʼ®×›Š®×®Š×äñäz×p×p×äñä×]$hwiÙhëg«OJPJQJ^JnHtHh›ûOJQJ^JhzWòOJPJQJ^JnHtH!h#X>hêèB*OJQJ^Jphÿ$h#X>hŸa OJPJQJ^JnHtHh#X>hêè5�OJQJ^JhdÜhëg«OJQJ^Jo(hdÜhdÜOJQJ^Jh#X>hêèOJQJ^Jh#X>hëg«OJQJ^Jh#X>hëg«5�OJQJ^J,\v“¬­  ' H o › œ ¬ Î ÷
ø