Create
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2027).
Not present in: 2020, 2021, 2022
2027
current
LineLoad.Create(Document, ElementId, Int32, XYZ, XYZ, LineLoadType, Document)
| document | Document | Document to which new line load will be added. |
| hostElemId | ElementId | The analytical host element for the line Load. |
| curveIndex | Int32 | The index of a curve in analytical surface element starting from 0. Use <span class="noLink">[!:Autodesk::Revit::DB::Structure::AnalyticalSurfaceBase::GetOuterContour]</span> method to obtain appropriate curve index. Curve index has a unique value in analytical element. The index should be obtain by iteration through all curves in all loops. |
| forceVector1 | XYZ | The applied 3d force vector. |
| momentVector1 | XYZ | The applied 3d moment vector. |
| symbol | LineLoadType | The symbol of the LineLoad. Set <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTDE3F878C_1"></span></span> to use default type. |
| aDoc | Document | Document to which new line load will be added. |
| → returns | nullNothingnullptr→LineLoad | If successful, returns the newly created LineLoad, otherwise. |
LineLoad.Create(Document, ElementId, Int32, XYZ, XYZ, LineLoadType)
| document | Document | Document to which new line load will be added. |
| hostElemId | ElementId | The analytical host element for the line Load. |
| curveIndex | Int32 | The index of a curve in analytical surface element starting from 0. Use <span class="noLink">[!:Autodesk::Revit::DB::Structure::AnalyticalSurfaceBase::GetOuterContour]</span> method to obtain appropriate curve index. Curve index has a unique value in analytical element. The index should be obtain by iteration through all curves in all loops. |
| forceVector1 | XYZ | The applied 3d force vector. |
| momentVector1 | XYZ | The applied 3d moment vector. |
| symbol | LineLoadType | The symbol of the LineLoad. Set <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTDE3F878C_1"></span></span> to use default type. |
| → returns | nullNothingnullptr→LineLoad | If successful, returns the newly created LineLoad, otherwise. |