Untitled
unknown
csharp
a year ago
770 B
7
Indexable
foreach (SelectedObject selObj in SelRes.Value)
{
Alignment alinhamento = tr.GetObject(selObj.ObjectId, OpenMode.ForRead) as Alignment;
string profileName = $"{prefixo}_{alinhamento.Name}";
ObjectId IDAlinhamento = selObj.ObjectId;
ObjectId IDProfileStyle = civilDoc.Styles.ProfileStyles["Terreno"];
ObjectId IDProfileLabelSet = civilDoc.Styles.LabelSetStyles.ProfileLabelSetStyles[0];
ObjectId IDLayer = TabelaLayers["0"];
Profile.CreateFromSurface(profileName, IDAlinhamento, surfaceId, IDLayer, IDProfileStyle, IDProfileLabelSet);
// Profile profile = Profile.CreateFromSurface(profileName, civilDoc, NameId, surfaceId, idLayer, profileStyleId);
}Editor is loading...
Leave a Comment